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

cmsfn.isPreviewMode() is always false

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD