You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2007/12/08 16:27:37 UTC

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

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 );