directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r602482 - /directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
Date Sat, 08 Dec 2007 15:27:37 GMT
Author: elecharny
Date: Sat Dec  8 07:27:37 2007
New Revision: 602482

URL: http://svn.apache.org/viewvc?rev=602482&view=rev
Log:
Fixed the failing test in ModifyRDNTest : the normalized value was stored into the backend
instead of the UP value

Modified:
    directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java

Modified: directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java?rev=602482&r1=602481&r2=602482&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
(original)
+++ directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmStore.java
Sat Dec  8 07:27:37 2007
@@ -1602,7 +1602,7 @@
         // add the new Rdn value only if it is not already present in the entry
         if ( ! AttributeUtils.containsValue( rdnAttr, newRdnValue, newRdnAttrType ) )
         {
-            rdnAttr.add( newRdnValue );
+            rdnAttr.add( newRdn.getUpValue() );
         }
 
         entry.put( rdnAttr );



Mime
View raw message