[MGNLPN-207] Update of node path sometimes breaks preview Created: 15/Apr/15  Updated: 01/Jul/15  Resolved: 15/Apr/15

Status: Closed
Project: Magnolia Personalization
Component/s: Preview App
Affects Version/s: 1.1.1
Fix Version/s: 1.1.2

Type: Bug Priority: Neutral
Reporter: Roman Kovařík Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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

 Description   

To reproduce:

  1. Start preview on a page
  2. Navigate to an another page
  3. Change a trait
  4. You are on the first page
    Unfortunately these errors happen randomly and are probably caused by an error in UI. I'd still suggest to keep the fix in place since this error breaks whole preview resolution.
2015-04-15 09:19:12,622 ERROR nolia.personalization.preview.ui.PagePreviewSubApp: Cannot set original node for location: 'app:preview:detail;/demo-features/modules/sugar-crm:view::previewPersona=/:previewTimezone=Existing Business'
javax.jcr.RepositoryException: Not an absolute path: null
at org.apache.jackrabbit.core.session.SessionItemOperation.perform(SessionItemOperation.java:189)
at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:361)
at org.apache.jackrabbit.core.SessionImpl.getNode(SessionImpl.java:1111)
at info.magnolia.jcr.wrapper.DelegateSessionWrapper.getNode(DelegateSessionWrapper.java:177)
at info.magnolia.jcr.wrapper.DelegateSessionWrapper.getNode(DelegateSessionWrapper.java:177)
at info.magnolia.jcr.wrapper.NodeWrappingDelegateSessionWrapper.getNode(NodeWrappingDelegateSessionWrapper.java:53)
at info.magnolia.jcr.wrapper.DelegateSessionWrapper.getNode(DelegateSessionWrapper.java:177)
at info.magnolia.jcr.decoration.ContentDecoratorSessionWrapper.getNode(ContentDecoratorSessionWrapper.java:120)
at info.magnolia.jcr.wrapper.DelegateSessionWrapper.getNode(DelegateSessionWrapper.java:177)
at info.magnolia.jcr.decoration.ContentDecoratorSessionWrapper.getNode(ContentDecoratorSessionWrapper.java:120)
at info.magnolia.personalization.preview.ui.PagePreviewSubApp$3.updateNodePath(PagePreviewSubApp.java:172)
at info.magnolia.personalization.preview.ui.PagePreviewSubApp$3.onNavigation(PagePreviewSubApp.java:164)
at info.magnolia.personalization.preview.ui.component.IFrameNavigationTracker$1.call(IFrameNavigationTracker.java:47)
at com.vaadin.server.JavaScriptCallbackHelper$1.call(JavaScriptCallbackHelper.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
Apr 15, 2015 2:03:05 PM com.vaadin.ui.ConnectorTracker unregisterConnector
WARNING: Unregistered IFrameNavigationTracker (129) that was already unregistered.
Apr 15, 2015 2:03:05 PM com.vaadin.ui.ConnectorTracker unregisterConnector
WARNING: Unregistered BrowserFrame (128) that was already unregistered.


 Comments   
Comment by Roman Kovařík [ 12/May/15 ]

For QA: use SugarCRM module

Generated at Mon Feb 12 06:35:22 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.