Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 51849 invoked from network); 8 Sep 2009 07:54:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Sep 2009 07:54:01 -0000 Received: (qmail 75711 invoked by uid 500); 8 Sep 2009 07:54:00 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 75666 invoked by uid 500); 8 Sep 2009 07:54:00 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 75650 invoked by uid 99); 8 Sep 2009 07:54:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 07:54:00 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cedric.mailleux@gmail.com designates 72.14.220.154 as permitted sender) Received: from [72.14.220.154] (HELO fg-out-1718.google.com) (72.14.220.154) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 07:53:51 +0000 Received: by fg-out-1718.google.com with SMTP id 22so1869411fge.1 for ; Tue, 08 Sep 2009 00:53:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=GMvZuMk9hppInqNqfZEpCYr9Yy0HviknbMWLbZDO6hQ=; b=YAHTagkUAVQCKmPUzcA9LHlMdkpstWVV+IE5sjCYex+51BroOYd/ZNgCHZiz0xq7J3 Q1hd+jojHFU348APttXx0YN+axxy4TL7w4vKw2QKeZeCYvLGTykd0Fy/lFzh/qGBHQPu MWLb3/+F51XMnJqVDUDyYeFPHg/7S99e0wbdc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=girv0GkWqHpE6/8i0orF47sdF4syQQu6LjbbqxBM3bF09Nwl3Bl5tar/JCvb0K/RwM rra7iNma61Zo9MtPxQ72g+26upgE1l1m3auawxZ9jdviLTjTOlcLigeLCcZf6PLTxe1f PoCMTOaKVL3QmeXzRy3zpR8heFfoM6X/o+pZE= MIME-Version: 1.0 Sender: cedric.mailleux@gmail.com Received: by 10.86.247.18 with SMTP id u18mr8015621fgh.43.1252396410022; Tue, 08 Sep 2009 00:53:30 -0700 (PDT) Date: Tue, 8 Sep 2009 09:53:30 +0200 X-Google-Sender-Auth: 62b8a1dd9d9fed0a Message-ID: <3ce52d280909080053j2e1ec286h2b49c6b65247c621@mail.gmail.com> Subject: Does not retain order of child nodes on Orderable nodes when calling Node.update(srcWorkspace) From: cedric mailleux To: users@jackrabbit.apache.org Content-Type: multipart/alternative; boundary=001485e9a7ed232e7304730c43cb X-Virus-Checked: Checked by ClamAV on apache.org --001485e9a7ed232e7304730c43cb Content-Type: text/plain; charset=UTF-8 Hi, I have some orderable nodes : [jnt:contentList] > nt:base orderable + * (nt:base) When I update a node in my workspace B with node.update(workspaceA), all the properties/ node added-deleted are well propagated but the order of the childs is not keeping the order from the source workspace. I am using jackrabbit 1.6.0 (try also on 1.5.0 same issue). When debugging in my source workspace in NodeImpl I see that data.getNodeState().getChildNodeEntries() return a list well ordered but on my target workspace the same call does not return a well ordered list but a list of node oredred by creation (the last created the last in the list). Try to work on a patch but does not find a way yet. Any idea is welcome Regards -- Cedric Mailleux Software Architect Jahia Solutions France - www.jahia.com 18 rue d'Hauteville 75010 Paris, France +33 1 53 34 69 68 cedric.mailleux@jahia.com --001485e9a7ed232e7304730c43cb--