[ https://issues.apache.org/jira/browse/JCR-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke reassigned JCR-1902: ----------------------------------- Assignee: Julian Reschke > Warning while building DAV:parent-set for root-node resource > ------------------------------------------------------------ > > Key: JCR-1902 > URL: https://issues.apache.org/jira/browse/JCR-1902 > Project: Jackrabbit > Issue Type: Bug > Components: jackrabbit-jcr-server > Affects Versions: 1.5.0 > Reporter: angela > Assignee: Julian Reschke > Fix For: 1.6.0 > > Attachments: jcr-1902.patch > > > the following warning is generated when calculating DAV:parent-set for the > resource representing the root-node: > 05.12.2008 11:49:50 *WARN * DavResourceImpl: unable to calculate parent set > (DavResourceImpl.java, line 955) > javax.jcr.ItemNotFoundException: root node doesn't have a parent > at org.apache.jackrabbit.core.NodeImpl.getParent(NodeImpl.java:2078) > at > org.apache.jackrabbit.webdav.simple.DavResourceImpl.getParentElements(DavResourceImpl.java:949) > at > org.apache.jackrabbit.webdav.simple.DavResourceImpl.initProperties(DavResourceImpl.java:393) > this could simply be avoided by slightly modifying the method > getParentElements (starting at line 937) and adding a test asserting that > node.getParent() is not called for the root node. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.