Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 49486 invoked from network); 5 Dec 2008 16:33:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2008 16:33:06 -0000 Received: (qmail 34345 invoked by uid 500); 5 Dec 2008 16:33:17 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 34216 invoked by uid 500); 5 Dec 2008 16:33:17 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 34205 invoked by uid 99); 5 Dec 2008 16:33:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2008 08:33:17 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2008 16:31:56 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 644C2234C317 for ; Fri, 5 Dec 2008 08:32:44 -0800 (PST) Message-ID: <222010888.1228494764409.JavaMail.jira@brutus> Date: Fri, 5 Dec 2008 08:32:44 -0800 (PST) From: "Julian Reschke (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-1902) Warning while building DAV:parent-set for root-node resource In-Reply-To: <74379987.1228474784719.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke resolved JCR-1902. --------------------------------- Resolution: Fixed patch applied with revision 723784. > 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.