Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6198

Actionbar items not displaying when page directive is first element in a template script

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • 5.4
    • templating

    Description

      It is not possible to use the Redirect feature of the STK Redirect page template anymore because no items are displayed in the action bar and therefore one cannot access the page dialog.
      Oddly enough it looks like the action bar is rendering its items only when the page (or init) directive is preceded by at least one html tag. For instance this works

      <p>
      [@cms.page /]
      ...
      

      and this doesn't, as the directive is the first element in the page (eventually rendered as an HTML comment)

      [@cms.page /]
      ...
      

      It used to work before recent changes cause this now useless element was always added at the very beginning

      <meta name="gwt:property" content="locale=en"/>

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                fgrilli Federico Grilli
                czimmermann Christopher Zimmermann
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Bug DoR
                    Task DoD