Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 50140 invoked from network); 7 Nov 2006 21:21:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Nov 2006 21:21:06 -0000 Received: (qmail 36692 invoked by uid 500); 7 Nov 2006 21:21:16 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 36647 invoked by uid 500); 7 Nov 2006 21:21:16 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 36636 invoked by uid 99); 7 Nov 2006 21:21:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2006 13:21:16 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aok123@bellsouth.net designates 205.152.59.64 as permitted sender) Received: from [205.152.59.64] (HELO imf16aec.mail.bellsouth.net) (205.152.59.64) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2006 13:21:01 -0800 Received: from ibm56aec.bellsouth.net ([65.80.200.112]) by imf16aec.mail.bellsouth.net with ESMTP id <20061107212034.UWTQ4134.imf16aec.mail.bellsouth.net@ibm56aec.bellsouth.net> for ; Tue, 7 Nov 2006 16:20:34 -0500 Received: from [172.16.1.7] (really [65.80.200.112]) by ibm56aec.bellsouth.net with ESMTP id <20061107212033.PKSV7165.ibm56aec.bellsouth.net@[172.16.1.7]> for ; Tue, 7 Nov 2006 16:20:33 -0500 Message-ID: <4550F9F8.8050805@bellsouth.net> Date: Tue, 07 Nov 2006 16:26:16 -0500 From: Alex Karasulu User-Agent: Thunderbird 1.5.0.7 (X11/20060922) MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: [Mitosis] IM Session with Trustin References: <455003AB.7050802@bellsouth.net> <768dcb2e0611062119p4ed62031i812c50280dc8f343@mail.gmail.com> In-Reply-To: <768dcb2e0611062119p4ed62031i812c50280dc8f343@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Trustin Lee wrote: > On 11/7/06, *Alex Karasulu* > wrote: > > 1). When adding an entry that was already marked entryDeleted true, why > does mitosis perform a modify operation on the entry instead? > > Answer: I don't remember maybe I did it this way because of a lack of > knowledge. > > > No, it was to avoid recursive deletion. > > 5). Looks like you have not finished implementing the move operation as > is indicated > here in OperationFactory line 188 in newMove(): > > if ( !deleteOldRn ) > { > throw new OperationNotSupportedException( "deleteOldRn must > be true." ); > } > > Is it that you did not implement this or that it was not possible > because of some issue? > > > If deleteOldRn is false, the move operation is not a move operation but > a copy operation. Hmmm I don't know what this means. Inside ADS the move operation is used for when entries are literally moved from one container to another. So if I have the following entries: ou=base ou=A,ou=base ou=B,ou=base ou=C,ou=base A move operation would be needed to place ou=A,ou=base under ou=C,ou=base to get the following entry: ou=A,ou=C,ou=base This is a move operation. This is why the arguments are oldName, newParentName, newRdn, and deleteOldRdn. Now a rename operation does not change the parent of the object just it's name, but this propagates as move's to children. This means a newly copied entries have to have > different UUIDs. Does moving an entry require a new UUID? Hmmmm. Basically renaming of entries is causing an issue and this UnsupportedOperationException is being fired. I cannot rename entries as long as this is the way it is. I'm trying to understand why you're pushing a modifyRn into a move operation. I need to understand your reasons before I can fix it. Can you provide some more feedback on how to get rename working and what should be the default behavior? Thanks, Alex