Open EricSoroos opened 5 years ago
Looks like tests for ckan=master are failing for unrelated reasons.
@EricSoroos can you write a test for your change?
Sorry, I can't get the test suite to run locally based on the README:
To run the tests, do:
nosetests --nologcapture --ckan --with-pylons=test.ini ckanext
Deletion in the JSON harvester is broken in 2 ways
This patch fixes the crash by saving the harvest object prior to using it's id, and only clearing the harvest objects for the deleted item after it has been deleted.