directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r501505 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaEntityFactory.java
Date Tue, 30 Jan 2007 18:23:56 GMT
Author: akarasulu
Date: Tue Jan 30 10:23:55 2007
New Revision: 501505

URL: http://svn.apache.org/viewvc?view=rev&rev=501505
Log:
fixing bug where AttributeType was showing the incorrect value for its NO_USER_MODIFICATION
property: thanks Emmanuel for localizing this bug

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaEntityFactory.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaEntityFactory.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaEntityFactory.java?view=diff&rev=501505&r1=501504&r2=501505
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaEntityFactory.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaEntityFactory.java
Tue Jan 30 10:23:55 2007
@@ -650,7 +650,7 @@
         if ( entry.get( MetaSchemaConstants.M_NO_USER_MODIFICATION_AT ) != null )
         {
             String val = ( String ) entry.get( MetaSchemaConstants.M_NO_USER_MODIFICATION_AT
).get();
-            at.setCanUserModify( val.equalsIgnoreCase( "TRUE" ) );
+            at.setCanUserModify( ! val.equalsIgnoreCase( "TRUE" ) );
         }
         
         if ( entry.get( MetaSchemaConstants.M_USAGE_AT ) != null )



Mime
View raw message