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

CKAN background jobs will throw an exception when publishing DOI #103

Open
MarkCalvert opened this issue Mar 15, 2024 · 0 comments
Open
Labels

Comments

@MarkCalvert
Copy link

Description
CKAN background jobs can update datasets (e.g. embargo releases), which trigger the after_dataset_update interface.
Flash messages will fail in background jobs and only work from web requests.

Expected Behaviour
No exceptions thrown when a DOI is published from a CKAN background job.

To Reproduce
Create a CKAN background job to update a dataset from private to public

Error Log
Paste any relevant error logs below:

Working outside of request context

Your Setup

  • CKAN version: [e.g. 2.10.3]

Anything Else?
Proposed solution #102

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant