jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1902) Warning while building DAV:parent-set for root-node resource
Date Fri, 05 Dec 2008 10:59:44 GMT
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
            Reporter: angela


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.


Mime
View raw message