You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the group bulk actions to update datasets to private/public or to delete them, the bulk logic action methods do not call the package logic methods, they just hit the DB directly, and SOLR directly. So this would skip any before and after hooks.
Steps to reproduce
Steps to reproduce the behavior:
Have some code which implements IPackageController and the delete or after_dataset_delete methods;
Have some dataset for an organization;
Go to the organization's bulk action page;
Select some datasets and delete;
The delete and after_dataset_delete implemented methods do not happen.
Expected behavior
IPackageController method implementations happen for each dataset selected for the bulk actions.
The text was updated successfully, but these errors were encountered:
JVickery-TBS
changed the title
Group.Org Bulk Actions Skip Framework
Group/Org Bulk Actions Skip Framework
Dec 28, 2023
CKAN version
2.9+ (including master branch)
Describe the bug
When using the group bulk actions to update datasets to private/public or to delete them, the bulk logic action methods do not call the package logic methods, they just hit the DB directly, and SOLR directly. So this would skip any before and after hooks.
Steps to reproduce
Steps to reproduce the behavior:
IPackageController
and thedelete
orafter_dataset_delete
methods;delete
andafter_dataset_delete
implemented methods do not happen.Expected behavior
IPackageController
method implementations happen for each dataset selected for the bulk actions.The text was updated successfully, but these errors were encountered: