Fix crash when opening default publishing node when user has access to several 
domains
--------------------------------------------------------------------------------------

                 Key: NXP-3988
                 URL: http://jira.nuxeo.org/browse/NXP-3988
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
            Reporter: Anahide Tchertchian
            Assignee: Thierry Delprat
            Priority: Major
             Fix For: 5.2.1


Steps to reproduce:

As Administrator:
- create a new domain
- go to a file (for instance), click on publishing tab
- open the "Sections" node

=> crash with error:

java.lang.NullPointerException
        at 
org.nuxeo.ecm.platform.publisher.impl.service.ProxyNode.<init>(ProxyNode.java:34)
        at 
org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl.getParent(PublisherServiceImpl.java:370)
        at 
org.nuxeo.ecm.platform.publisher.impl.service.AbstractRemotableNode.getParent(AbstractRemotableNode.java:79)
        at 
org.nuxeo.ecm.platform.publisher.impl.core.SectionPublicationTree.canPublishTo(SectionPublicationTree.java:137)
        at 
org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl.canPublishTo(PublisherServiceImpl.java:446)
        at 
org.nuxeo.ecm.platform.publisher.impl.service.AbstractRemotableTree.canPublishTo(AbstractRemotableTree.java:127)
        at 
org.nuxeo.ecm.platform.publisher.web.PublishActionsBean.canPublishTo(PublishActionsBean.java:257)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to