Details
-
Bug
-
Resolution: Fixed
-
Minor
-
2.01, 2.1 Final
-
None
-
any
Description
The fix applied on both the trunk and the 2.02 branch implemented for the public site access problem causes the showPreview() in info.magnolia.cms.util.Resource to longer work as expected. As an effect, preview mode is no longer persistent: if you switch into preview mode, then surf to another page, that page shows up in edit mode again.
The problem probably is with authenticate() in info.magnolia.cms.servlets.EntryServlet: the session of a particular user seems to be invalidated there, which causes the "mgnlPreview" attribute to be removed - preview mode is then no longer active. I've compared a previous working copy of magnolia with the current one of the 2.02 branch and found this to be the only significant change.
This bug is also related to a recent patch I submitted to fix showPreview of the info.magnolia.cms.util.Resource class. However, I think, the patch is not the problem.