Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-1902

cmsfn.isPreviewMode() is always false

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.0.2, 5.1
    • 5.0
    • page editor
    • None

    Description

      cmsfn.isPreviewMode() returns always false, accordingly cmsfn.isEditMode() is always true, so there's no way to decide if in preview mode or not at the moment. Same for JSP and FTL templating.

      Tested against Magnolia 5.0 from bundled tomcat download.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                fgrilli Federico Grilli
                mjablonski Maik Jablonski
                Votes:
                3 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD