directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r413931 - /directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/referral/ReferralService.java
Date Tue, 13 Jun 2006 16:27:18 GMT
Author: akarasulu
Date: Tue Jun 13 09:27:16 2006
New Revision: 413931

URL: http://svn.apache.org/viewvc?rev=413931&view=rev
Log:
fixing broken referral tests due to normalization issues

Modified:
    directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/referral/ReferralService.java

Modified: directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/referral/ReferralService.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/referral/ReferralService.java?rev=413931&r1=413930&r2=413931&view=diff
==============================================================================
--- directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/referral/ReferralService.java
(original)
+++ directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/referral/ReferralService.java
Tue Jun 13 09:27:16 2006
@@ -922,7 +922,7 @@
 
             Attributes referral = invocation.getProxy().lookup( farthest, DirectoryPartitionNexusProxy.LOOKUP_BYPASS
);
             Attribute refs = referral.get( REF_ATTR );
-            doReferralExceptionOnSearchBase( farthest, base, refs, controls.getSearchScope()
);
+            doReferralExceptionOnSearchBase( farthest, new LdapDN( base.toUpName() ), refs,
controls.getSearchScope() );
             throw new IllegalStateException( "Should never get here: shutting up compiler"
);
         }
         if ( refval.equals( THROW ) )



Mime
View raw message