ckanext-doi icon indicating copy to clipboard operation
ckanext-doi copied to clipboard

Refactor DOIPlugin to only flash success messages in blueprint views

Open MarkCalvert opened this issue 11 months ago • 1 comments

The reason behind this change is to handle when CKAN background jobs 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. The solution is to check if the request has come from a blueprint view.

MarkCalvert avatar Mar 15 '24 02:03 MarkCalvert