Uploaded image for project: 'Magnolia Templating Essentials'
  1. Magnolia Templating Essentials
  2. MTE-139

weird error while decorating dialog of mtk:component/video

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None
    • None

    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...

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              tgregovsky Tomáš Gregovský
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD