[MGNLUI-1955] Following a link in page-editor turns off edit mode Created: 23/Aug/13  Updated: 27/Aug/13  Resolved: 26/Aug/13

Status: Closed
Project: Magnolia UI
Component/s: page editor
Affects Version/s: 5.0.3, 5.1
Fix Version/s: 5.0.4, 5.1

Type: Bug Priority: Blocker
Reporter: Mikaël Geljić Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
caused by MAGNOLIA-5242 cmsfn.isEditMode() is true when acces... Closed
relation
is related to MAGNOLIA-5262 No need for intercepting a mgnlEdit p... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

1. Go to pages app
2. Edit demo-project
3. Click a navigation link (e.g. About, News and Events)
=> Page seems to be in previewMode now, although the action bar remains as if it were still in edit mode.



 Comments   
Comment by Federico Grilli [ 24/Aug/13 ]

The mgnlEdit param "gets lost" when the iframe is loaded with a new page. Request parameters must be set at info.magnolia.ui.vaadin.gwt.client.connector.PageEditorConnector.init().new FrameNavigationEventHandler()

{...}

.onFrameUrlChanged(FrameNavigationEvent) and not, as it mistakenly happens now, at info.magnolia.pages.app.editor.PagesEditorSubApp.setPageEditorParameters(DetailLocation)

Generated at Mon Feb 12 08:51:46 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.