[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-3746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Baur updated MAGNOLIA-3746:
----------------------------------

    Description: 
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  {code} [#if mgnl.editMode]{code}  statements is 
executed all the same. 

This causes some rendering problems, and displays hints like in


{code:title=formGroupEdit.ftl, Line 10|borderStyle=solid}
[#if mgnl.editMode]
        ${i18n['form.note.field']}
[/#if]
{code} 

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




  was:
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  {code} [#if mgnl.editMode]{code}  statements is 
executed all the same. This causes some rendering problems, and displays hintl 
like in


{code:title=formGroupEdit.ftl, Line 10|borderStyle=solid}
[#if mgnl.editMode]
        ${i18n['form.note.field']}
[/#if]
{code} 

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





> 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  {code} [#if mgnl.editMode]{code}  statements 
> is executed all the same. 
> This causes some rendering problems, and displays hints like in
> {code:title=formGroupEdit.ftl, Line 10|borderStyle=solid}
> [#if mgnl.editMode]
>         ${i18n['form.note.field']}
> [/#if]
> {code} 
> 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: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to