Skip to content

Pre/Post Publication workflows broken as of #11654 #11996

@qqmyers

Description

@qqmyers

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:

private String workflowSettingKey(WorkflowContext.TriggerType type) {
return WORKFLOW_ID_KEY+type.name();
}

  • 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?

Metadata

Metadata

Assignees

Labels

FY26 Sprint 11FY26 Sprint 11 (2025-11-20 - 2025-12-03)Size: 10A percentage of a sprint. 7 hours.Type: Buga defect

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions