Inbox page preview (with GET parameter mgnlVersion=) renders the page in wrong 
mode.
------------------------------------------------------------------------------------

                 Key: MAGNOLIA-3746
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3746
             Project: Magnolia
          Issue Type: Bug
    Affects Versions: 4.4.3
            Reporter: Stefan Baur


If page is rendered with the mgnlVersion= GET parameter, alls edit bars are 
hidden and the page looks like in preview mode. You reach this state by 
clicking "Show Content" in the inbox.

The page looks like in preview mode (because all green bars are hidden), but 
all freemarker code inside of  [#if mgnl.editMode] statements is executed all 
the same. This causes some rendering problems, and displays hintl like in

formGroupEdit.ftl :: 10

[#if mgnl.editMode]
            ${i18n['form.note.field']}
        [/#if]

to be displayed, even though the user doesnt seem to be in the edit mode.

It seems to me, that the aggregationState returns a wrong value here:
info.magnolia.cms.core.AggregationState#isPreviewMode




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to