[MGNLUI-2022] Property values in workbench view are not html encoded and hide leadind spaces. Created: 04/Sep/13  Updated: 09/Mar/21  Resolved: 09/Mar/21

Status: Closed
Project: Magnolia UI
Component/s: tree/list
Affects Version/s: 5.0.4
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Christian Ringele Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Property-Displayed.png     PNG File Property-Displayed_ProducesHtml_FIlterOut_DivAndTD.png     PNG File Property-Displayed_With_Italic.png     PNG File Property-Edit_DivAndTD-FilteredOut.png     PNG File Property-Edit_Example1.png     PNG File Property-Edit_WithSpaces.png     PNG File Property-Edit_With_Italic.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   

By copy paste a full qualified class name (containing generics) I encountered a bug:
The property values are not html encoded. So html within the property value is interpreted as such.
Also it filters out leading spaces, you just don't see them. Which leads to many problems especially when you copy paste values (as for example from 'my first content app' tutorial.)

I added print screens displaying this behavior.


Generated at Mon Feb 12 08:52:26 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.