[MTE-139] weird error while decorating dialog of mtk:component/video Created: 14/Feb/17  Updated: 03/May/22

Status: Open
Project: Magnolia Templating Essentials
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Tomáš Gregovský Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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
Date of First Response:
Team: DeveloperX

 Description   

(Magnolia 5.5.1 CE)

trying to decorate dialog of mtk:component/video and no matter what I put into decoration file, definition app always show major error encountered "Class cast: java.lang.Boolean cannot be cast to java.lang.String" and dialogs doesn't work.

While investigating I found that error is caused by lines #69 and #71 in original video dialog (mtk/dialogs/components/video.yaml), on these lines are two nodes:

#69:           - name: no
#71:           - name: yes

when I edit this lines and wrap no and yes into brackets:

#69:           - name: "no"
#71:           - name: "yes"

error is gone and everything works.

Funny thing is that if there is no decoration of this file all is ok...



 Comments   
Comment by reto odermatt [ 11/Apr/18 ]

We're experiencing the same problem, any changes this get's fixed any time soon?

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