[MGNLWORKFLOW-160] ActivationAction must give proper result messages based on whether it "performed workflow" or not. Created: 02/Oct/13  Updated: 04/Oct/13  Resolved: 03/Oct/13

Status: Closed
Project: Magnolia Workflow Module
Component/s: None
Affects Version/s: 5.1
Fix Version/s: 5.1

Type: Bug Priority: Critical
Reporter: Christopher Zimmermann Assignee: Espen Jervidalo
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLWORKFLOW-125 As a developer I can define whether a... Open
relates to MGNLUI-2206 i18n key: Activation action has incor... Closed
relation
is related to MGNLUI-2225 ActivationAction: remove workflow rel... Closed
supersession
supersedes MGNLWORKFLOW-158 activateDeletion action is not handle... Closed
supersedes MGNLUI-2191 Missing i18n key: After deleting a pa... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Sprint: 5.1 - Final

 Description   

Currently the success and error messages presented to the user in notifications only depend on whether workflow is installed or not.

However it can be the case that workflow is installed but the instance of the action still performs simple activation (currently the case in contacts/dam/secuirty) - as the type of activation depends on the catalog of the activation command that is called by the activation action.

The confusing result - is that if you publish a contact you get a message "Publication workflow has been launched", when in fact the item is immediately activated.

Note: The keys for CE activation are currently in module-ui-framework-messages_en.properties.

actions.activate.successMessage=Publication workflow has been launched.
actions.activateRecursive.successMessage=Publication workflow has been launched.
actions.activateDeleted.successMessage=Publication workflow has been launched.
actions.deactivate.workflowErrorMessage=An error occurred during un-publication.
actions.deactivate.workflowSuccessMessage=Un-publication workflow has been launched.

The keys for EE workflow activation will be stored in the workflow module.


Generated at Mon Feb 12 10:07:21 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.