Skip to content

Harvesting individual resources fails due to reversed argument passing #8377

@ricardogsilva

Description

@ricardogsilva

When trying to harvest individual harvestable resources (as opposed to going through the harvester action) the method call eventually goes to call harvesting.tasks.harvest_resources(). However, the calling arguments are being passed in reverse order - it should be harvest_resources(harvestable_resource_ids, harvesting_session_id) but it is being called with harvest_resources(harvesting_session_id, harvestable_resource_ids), as seen in:

args=(self.pk, harvestable_resource_ids or [])

Metadata

Metadata

Assignees

Labels

majorA high priority issue which might affect a lot of people or large parts of the codebase

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions