Details
-
Bug
-
Resolution: Outdated
-
Neutral
-
None
-
4.4.3
-
None
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
[#if mgnl.editMode]
statements is executed all the same.
This causes some rendering problems, and displays hints like in
formGroupEdit.ftl, Line 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
Checklists
Acceptance criteria