[MGNLUI-2942] Long running action info messages shows message key instead of action name 'Delete'. Created: 27/May/14  Updated: 28/May/14  Resolved: 27/May/14

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.2.5
Fix Version/s: 5.2.5

Type: Bug Priority: Neutral
Reporter: Christopher Zimmermann Assignee: Christopher Zimmermann
Resolution: Fixed Votes: 0
Labels: i18n, ui
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by MGNLUI-2943 CLONE - Long running action info mess... 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

 Description   

For example the following INFO message is displayed:

Info: "configuration.browser.actions.delete.label" finished successfully. [MORE]
The long-running action "configuration.browser.actions.delete.label" you started in the Configuration app on item "..."

Problem likely in AbstractCommandAction#executeOnItem

scheduler.addTriggerListener(new CommandActionTriggerListener(
jobName + "_trigger",
i18n.translate("ui-framework.abstractcommand.asyncaction.successTitle", getDefinition().getLabel()),
i18n.translate("ui-framework.abstractcommand.asyncaction.successMessage", getDefinition().getLabel(), appName, item.getJcrItem().getPath()),
i18n.translate("ui-framework.abstractcommand.asyncaction.errorTitle", getDefinition().getLabel()),
i18n.translate("ui-framework.abstractcommand.asyncaction.errorMessage", getDefinition().getLabel(), appName, item.getJcrItem().getPath())));
// start the job


Generated at Mon Feb 12 09:01:40 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.