jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1902) Warning while building DAV:parent-set for root-node resource
Date Fri, 05 Dec 2008 16:00:44 GMT

     [ https://issues.apache.org/jira/browse/JCR-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcel Reutegger updated JCR-1902:
----------------------------------

    Fix Version/s: 1.6.0

> 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
>             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.


Mime
View raw message