directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1030876 - /directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/LdapCoreSessionConnection.java
Date Thu, 04 Nov 2010 10:40:43 GMT
Author: seelmann
Date: Thu Nov  4 10:40:43 2010
New Revision: 1030876

URL: http://svn.apache.org/viewvc?rev=1030876&view=rev
Log:
Fix moveAndRename() in core session connection

Modified:
    directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/LdapCoreSessionConnection.java

Modified: directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/LdapCoreSessionConnection.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/LdapCoreSessionConnection.java?rev=1030876&r1=1030875&r2=1030876&view=diff
==============================================================================
--- directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/LdapCoreSessionConnection.java
(original)
+++ directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/LdapCoreSessionConnection.java
Thu Nov  4 10:40:43 2010
@@ -935,7 +935,8 @@ public class LdapCoreSessionConnection i
         ModifyDnRequest iModDnReq = new ModifyDnRequestImpl();
 
         iModDnReq.setName( entryDn );
-        iModDnReq.setNewSuperior( newDn );
+        iModDnReq.setNewRdn( newDn.getRdn() );
+        iModDnReq.setNewSuperior( newDn.getParent() );
         iModDnReq.setDeleteOldRdn( deleteOldRdn );
 
         return modifyDn( iModDnReq );



Mime
View raw message