directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r949886 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/referral/ReferralInterceptor.java
Date Mon, 31 May 2010 23:04:42 GMT
Author: elecharny
Date: Mon May 31 23:04:42 2010
New Revision: 949886

URL: http://svn.apache.org/viewvc?rev=949886&view=rev
Log:
Updated the TODO. The lookup must be removed, but I wasn't succesful in doing so...

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/referral/ReferralInterceptor.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/referral/ReferralInterceptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/referral/ReferralInterceptor.java?rev=949886&r1=949885&r2=949886&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/referral/ReferralInterceptor.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/referral/ReferralInterceptor.java
Mon May 31 23:04:42 2010
@@ -399,12 +399,14 @@ public class ReferralInterceptor extends
 
         // Update the referralManager. We have to read the entry again
         // as it has been modified, before updating the ReferralManager
-        // TODO: this can be spare, as we build the entry later.
-        // But we will have to store the modified entry into the opContext
+        // TODO: this can be spare, as we already have the altered entry
+        // into the opContext, but for an unknow reason, this will fail
+        // on eferral tests...
         LookupOperationContext lookupContext = new LookupOperationContext( opContext.getSession(),
dn );
 
         Entry newEntry = nexus.lookup( lookupContext );
 
+        // Update the referralManager.
         // Check that we have the entry, just in case
         // TODO : entries should be locked until the operation is done on it.
         if ( newEntry != null )



Mime
View raw message