Uploaded image for project: 'Magnolia Personalization'
  1. Magnolia Personalization
  2. MGNLPN-207

Update of node path sometimes breaks preview

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 1.1.1
    • Fix Version/s: 1.1.2
    • Component/s: Preview App
    • Labels:
      None
    • Magnolia Release:
      5.3.10

      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.
      

        Attachments

          Activity

            People

            Assignee:
            rkovarik Roman Kovařík
            Reporter:
            rkovarik Roman Kovařík
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: