Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-1005

HorizontalTabbedArea fails when rendered in edit mode without any internal components

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 2.0.7
    • 2.0.4
    • paragraphs
    • None

    Description

      After declaring new horizontal tabbed area following exception is rendered in edit mode as long as no components are assigned to the area:

      Expression classOn is undefined on line 30, column 18 in templating-kit/components/teasers/horizontalTabbedArea.ftl.
      The problematic instruction:
      ----------
      ==> ${classOn} [on line 30, column 16 in templating-kit/components/teasers/horizontalTabbedArea.ftl]
      

      The variable classOn should be initialised at the top of the template like:

      [#assign classOn = ""]
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mdivilek Milan Divilek
                had Jan Haderka
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: