directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r527179 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java
Date Tue, 10 Apr 2007 16:27:21 GMT
Author: elecharny
Date: Tue Apr 10 09:27:20 2007
New Revision: 527179

URL: http://svn.apache.org/viewvc?view=rev&rev=527179
Log:
Forgot to call buildTarget() before transmitting the ModifyContext

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java?view=diff&rev=527179&r1=527178&r2=527179
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java
Tue Apr 10 09:27:20 2007
@@ -168,11 +168,11 @@
     {
     	if ( name instanceof LdapDN )
     	{
-    		getNexusProxy().modify( new ModifyServiceContext( (LdapDN)name, modOp, attrs ) );
+    		getNexusProxy().modify( new ModifyServiceContext( buildTarget( name ), modOp, attrs
) );
     	}
     	else
     	{
-    		getNexusProxy().modify( new ModifyServiceContext( new LdapDN( name ), modOp, attrs
) );
+    		getNexusProxy().modify( new ModifyServiceContext( buildTarget( new LdapDN( name ) ),
modOp, attrs ) );
     	}
     }
 



Mime
View raw message