-
Notifications
You must be signed in to change notification settings - Fork 531
Description
What steps does it take to reproduce the issue? The workflow mechanism was using dynamically generated keys to record which registered workflows should run as the PrePublishDataset or PostPublishDataset workflow during publication. As these were not listed in the SettingsServiceBean, #11654 deletes them, which means no workflows run during publication.
I'm guessing we could add them to the SettingsServiceBean (possibly with renaming), but, perhaps there should be a separate type-to-workflow mapping table. In any case, a fix is needed for v6.9.
Relevant code is at:
dataverse/src/main/java/edu/harvard/iq/dataverse/workflow/WorkflowServiceBean.java
Lines 502 to 504 in b8f5c1e
| private String workflowSettingKey(WorkflowContext.TriggerType type) { | |
| return WORKFLOW_ID_KEY+type.name(); | |
| } |
| PrePublishDataset, PostPublishDataset |
-
When does this issue occur?
-
Which page(s) does it occurs on?
-
What happens?
-
To whom does it occur (all users, curators, superusers)?
-
What did you expect to happen?
Which version of Dataverse are you using?
develop
Any related open or closed issues to this bug report?
Screenshots:
No matter the issue, screenshots are always welcome.
To add a screenshot, please use one of the following formats and/or methods described here:
Are you thinking about creating a pull request for this issue?
Help is always welcome, is this bug something you or your organization plan to fix?