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 2012/02/20 14:44:56 UTC

svn commit: r1291254 - in /directory/apacheds/trunk: interceptors/schema/src/main/java/org/apache/directory/server/core/schema/ xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/

Author: elecharny
Date: Mon Feb 20 13:44:56 2012
New Revision: 1291254

URL: http://svn.apache.org/viewvc?rev=1291254&view=rev
Log:
Used UP values instead of Norm Values

Modified:
    directory/apacheds/trunk/interceptors/schema/src/main/java/org/apache/directory/server/core/schema/SchemaInterceptor.java
    directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java

Modified: directory/apacheds/trunk/interceptors/schema/src/main/java/org/apache/directory/server/core/schema/SchemaInterceptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/interceptors/schema/src/main/java/org/apache/directory/server/core/schema/SchemaInterceptor.java?rev=1291254&r1=1291253&r2=1291254&view=diff
==============================================================================
--- directory/apacheds/trunk/interceptors/schema/src/main/java/org/apache/directory/server/core/schema/SchemaInterceptor.java (original)
+++ directory/apacheds/trunk/interceptors/schema/src/main/java/org/apache/directory/server/core/schema/SchemaInterceptor.java Mon Feb 20 13:44:56 2012
@@ -1440,7 +1440,7 @@ public class SchemaInterceptor extends B
 
             if ( !entry.contains( type, atav.getNormValue() ) )
             {
-                entry.add( new DefaultAttribute( type, atav.getNormValue() ) );
+                entry.add( new DefaultAttribute( type, atav.getUpValue() ) );
             }
         }
 

Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java?rev=1291254&r1=1291253&r2=1291254&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java Mon Feb 20 13:44:56 2012
@@ -1678,7 +1678,7 @@ public abstract class AbstractBTreeParti
 
             AttributeType newRdnAttrType = schemaManager.lookupAttributeTypeRegistry( newNormType );
 
-            entry.add( newRdnAttrType, newAtav.getNormValue() );
+            entry.add( newRdnAttrType, newAtav.getUpValue() );
 
             if ( hasUserIndexOn( newRdnAttrType ) )
             {