[MGNLWORKFLOW-361] The rendering of Fehler/Failure in the Tasks dialog Created: 01/Dec/17  Updated: 16/Mar/21  Resolved: 16/Mar/21

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

Type: Bug Priority: Neutral
Reporter: Martin Drápela Assignee: Unassigned
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File noHtmlRender.png    
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   

There are two issues.

1) the English message bundle

https://git.magnolia-cms.com/projects/ENTERPRISE/repos/workflow/browse/magnolia-module-workflow/src/main/resources/mgnl-i18n/workflow-messages_en.properties

has

unpublish.message.failure=Fehler

instead of

unpublish.message.failure=Failure

2) The failure/fehler message contains raw HTML tags.

  • Either strip the failure message off all HTML tags before rendering, or
  • (Better) Render the HTML tags correctly.


 Comments   
Comment by Martin Drápela [ 16/Mar/21 ]

Fixed as 

10 Mar 2020 QA fix i18n EN message for failed unpublishing

https://git.magnolia-cms.com/projects/ENTERPRISE/repos/workflow/commits/5d931a2ad8c26630027dbdb1d699fdb47c9d40fb#magnolia-module-workflow-pages/src/main/resources/workflow-pages/i18n/workflow-messages_en.properties

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