You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ricardogsilva I was testing the PDN harvesting locally and I noticed the following problem:
I select a single harvestable resource to be harvested
2 I run the harvesting
harvester.initiate_perform_harvesting(harvestable_resource_ids) is called with the list containing the single resource id
down the path the harvester.tasks.harvest_resources(harvestable_resource_id, harvesting_session_id) is called but the received arguments are filpped and models.AsynchronousHarvestingSession.objects.get(pk=harvesting_session_id) fails.
Indeed the task signature of the method has the arguments flipped.
Are we sure tests are passing?
The text was updated successfully, but these errors were encountered:
I confirm this is a bug - Manually dispatching individual harvestable resources is something I forgot to update when doing one of the more recent refactorings
@ricardogsilva I was testing the PDN harvesting locally and I noticed the following problem:
2 I run the harvesting
harvester.initiate_perform_harvesting(harvestable_resource_ids)
is called with the list containing the single resource idharvester.tasks.harvest_resources(harvestable_resource_id, harvesting_session_id)
is called but the received arguments are filpped andmodels.AsynchronousHarvestingSession.objects.get(pk=harvesting_session_id)
fails.Indeed the task signature of the method has the arguments flipped.
Are we sure tests are passing?
The text was updated successfully, but these errors were encountered: