Fixing a bug related to custom user for harvesting jobs#226
Fixing a bug related to custom user for harvesting jobs#226memaldi wants to merge 1 commit intockan:masterfrom
Conversation
|
@memaldi I'm not sure what you are trying to fix is a bug. I can't see a use case for wanting to use a different internal user on different harvest sources so I'm not sure if that was your original intention either. |
|
Taken from the documentation:
It seems that the implementation of the harvester is different from the stated at the documentation. I fixed this because in the project in which I'm working we need that datasets from different sources to be created by different users, because an issue related to the integration of an external component independent to CKAN. And as the documentation shows, it seemed to be possible, but it was not working. Anyway, if the actual logic of the harvester is the correct one, maybe the bug is in the documentation ;-) Regards, |
|
You are absolutely correct @memaldi, sorry, I hadn't looked at the source config options in a while. Your patch makes sense now, but there's no need to remove the Also you don't need to call Other than that I'm happy to merge it. |
In my honest opinion, there is a bug in base.py that avoids using custom user identified by the property "user" in configuration JSON.