Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6CD017CB8 for ; Fri, 25 Nov 2011 12:04:02 +0000 (UTC) Received: (qmail 4265 invoked by uid 500); 25 Nov 2011 12:04:02 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 4217 invoked by uid 500); 25 Nov 2011 12:04:02 -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 4209 invoked by uid 99); 25 Nov 2011 12:04:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Nov 2011 12:04:02 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [64.18.1.183] (HELO exprod6og102.obsmtp.com) (64.18.1.183) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Nov 2011 12:03:52 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob102.postini.com ([64.18.5.12]) with SMTP ID DSNKTs+EEKREYJALba58YWlkYlTceEnBJZmt@postini.com; Fri, 25 Nov 2011 04:03:31 PST Received: from inner-relay-4.eur.adobe.com (inner-relay-4.adobe.com [193.104.215.14]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id pAPC1h8G009949; Fri, 25 Nov 2011 04:01:43 -0800 (PST) Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id pAPC3PLV017574; Fri, 25 Nov 2011 04:03:25 -0800 (PST) Received: from eurhub01.eur.adobe.com (10.128.4.30) by nacas01.corp.adobe.com (10.8.189.99) with Microsoft SMTP Server (TLS) id 8.3.192.1; Fri, 25 Nov 2011 04:03:25 -0800 Received: from susi.eur.adobe.com (10.130.225.66) by eurhub01.eur.adobe.com (10.128.4.111) with Microsoft SMTP Server id 8.3.192.1; Fri, 25 Nov 2011 12:03:01 +0000 Message-ID: <4ECF83F5.70109@apache.org> Date: Fri, 25 Nov 2011 12:03:01 +0000 From: =?ISO-8859-1?Q?Michael_D=FCrig?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: "dev@jackrabbit.apache.org" CC: Stefan Guggisberg Subject: [jr3 microkernel] Move overwrites target node Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I just discovered that the move operation does not fail when the target nodes already exists. Is that expected? When node 'b' exists already, the following commit will overwrite it with node 'a': mk.commit("/", ">\"a\" : \"b\" ", head, ""); In contrast adding a node 'b' in the same situation would fail with a message saying that node 'b' exists already. Michael