Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-9321

Crash on summary screen when default Section tree is not reachable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.5
    • Fix Version/s: 5.6-RC2, 5.6
    • Component/s: Publishing

      Description

      When the content template does not define the default SectionRoot by the default PublicationTree is defined, it crashes in the Publisher service

      Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: org.nuxeo.ecm.core.api.ClientException. message: Failed to resolve document ref: /default-domain/sections
      	at org.nuxeo.ecm.core.api.AbstractSession.hasPermission(AbstractSession.java:429)
      	at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:616)
      	at org.nuxeo.ecm.core.api.TransactionalCoreSessionWrapper.invoke(TransactionalCoreSessionWrapper.java:126)
      	at $Proxy42.hasPermission(Unknown Source)
      	at org.nuxeo.ecm.platform.publisher.impl.core.SectionPublicationTree.initTree(SectionPublicationTree.java:65)
      	at org.nuxeo.ecm.platform.publisher.impl.core.RootSectionsPublicationTree.initTree(RootSectionsPublicationTree.java:44)
      	at org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl.getPublicationTree(PublisherServiceImpl.java:425)
      	... 192 more
      Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: org.nuxeo.ecm.core.model.NoSuchDocumentException. message: No such document: No such document: /default-domain/sections
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.resolvePath(SQLSession.java:237)
      	at org.nuxeo.ecm.core.api.DocumentResolver.resolveReference(DocumentResolver.java:63)
      	at org.nuxeo.ecm.core.api.AbstractSession.hasPermission(AbstractSession.java:426)
      	... 200 more
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tdelprat Thierry Delprat
                Reporter:
                tdelprat Thierry Delprat
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: