directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r528794 - /directory/apacheds/trunk/mitosis/src/main/java/org/apache/directory/mitosis/service/ReplicationService.java
Date Sat, 14 Apr 2007 10:52:47 GMT
Author: elecharny
Date: Sat Apr 14 03:52:47 2007
New Revision: 528794

URL: http://svn.apache.org/viewvc?view=rev&rev=528794
Log:
Forget to commit this class after having changed the GetMatchedName context

Modified:
    directory/apacheds/trunk/mitosis/src/main/java/org/apache/directory/mitosis/service/ReplicationService.java

Modified: directory/apacheds/trunk/mitosis/src/main/java/org/apache/directory/mitosis/service/ReplicationService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/mitosis/src/main/java/org/apache/directory/mitosis/service/ReplicationService.java?view=diff&rev=528794&r1=528793&r2=528794
==============================================================================
--- directory/apacheds/trunk/mitosis/src/main/java/org/apache/directory/mitosis/service/ReplicationService.java
(original)
+++ directory/apacheds/trunk/mitosis/src/main/java/org/apache/directory/mitosis/service/ReplicationService.java
Sat Apr 14 03:52:47 2007
@@ -58,6 +58,7 @@
 import org.apache.directory.server.core.interceptor.NextInterceptor;
 import org.apache.directory.server.core.interceptor.context.AddServiceContext;
 import org.apache.directory.server.core.interceptor.context.DeleteServiceContext;
+import org.apache.directory.server.core.interceptor.context.GetMatchedNameServiceContext;
 import org.apache.directory.server.core.interceptor.context.LookupServiceContext;
 import org.apache.directory.server.core.interceptor.context.ServiceContext;
 import org.apache.directory.server.core.invocation.InvocationStack;
@@ -517,8 +518,8 @@
     {
         if ( isDeleted( entry ) )
         {
-            LdapNameNotFoundException e = new LdapNameNotFoundException( "Deleted entry:
" + name );
-            e.setResolvedName( nexus.getMatchedName( name ) );
+            LdapNameNotFoundException e = new LdapNameNotFoundException( "Deleted entry:
" + name.getUpName() );
+            e.setResolvedName( nexus.getMatchedName( new GetMatchedNameServiceContext( name
) ) );
             throw e;
         }
     }



Mime
View raw message