Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 1919 invoked from network); 3 Dec 2008 15:54:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Dec 2008 15:54:06 -0000 Received: (qmail 41060 invoked by uid 500); 3 Dec 2008 15:54:18 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 40684 invoked by uid 500); 3 Dec 2008 15:54: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 40673 invoked by uid 99); 3 Dec 2008 15:54:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 07:54: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; Wed, 03 Dec 2008 15:52:56 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4C2E8234C2A6 for ; Wed, 3 Dec 2008 07:53:44 -0800 (PST) Message-ID: <1081932670.1228319624310.JavaMail.jira@brutus> Date: Wed, 3 Dec 2008 07:53:44 -0800 (PST) From: "Sandrine Raffalli (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-1895) Different behavior with insert and update of a collection MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Different behavior with insert and update of a collection --------------------------------------------------------- Key: JCR-1895 URL: https://issues.apache.org/jira/browse/JCR-1895 Project: Jackrabbit Issue Type: Bug Components: jackrabbit-ocm Affects Versions: 1.6.0 Reporter: Sandrine Raffalli In the DefaultCollectionConverter in the insert method : if the element has an identifier field it's this field that is took for the elementJcrName. Else it is the jcrElementName of the collection or the default name. In the update method, if the element has an id field and an uuid field, it's the jcrElementName of the collection or the default name that is took, not the id field. In case of insert or update, it must take the same identifier to build the path. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.