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

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

      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 = ""]
      

        Acceptance criteria

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

                Created:
                Updated:
                Resolved: