Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Already deleted records are to be deleted again #238

Closed
jze opened this issue Jan 16, 2023 · 0 comments · Fixed by #239
Closed

Already deleted records are to be deleted again #238

jze opened this issue Jan 16, 2023 · 0 comments · Fixed by #239

Comments

@jze
Copy link
Contributor

jze commented Jan 16, 2023

In our harvest run, records that have already been deleted are to be deleted again. This leads to an error.

  File "/usr/lib/ckan/default/src/ckanext-dcat/ckanext/dcat/harvesters/rdf.py", line 281, in import_stage
    p.toolkit.get_action('package_delete')(context, {'id': harvest_object.package_id})
  File "/usr/lib/ckan/default/src/ckan/ckan/logic/__init__.py", line 504, in wrapped
    result = _action(context, data_dict, **kw)
  File "/usr/lib/ckan/default/src/ckan/ckan/logic/action/delete.py", line 90, in package_delete
    raise NotFound
jze added a commit to jze/ckanext-dcat that referenced this issue Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant