mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Ludovic Poitou
28.01.2011 7081ca28e7902476b3e132ff44c241f9cab9ff7f
Fix OPENDJ-58: Double value cn: schema in 99-user.ldif.
If 00-core.ldif get modified, and the server rewrites the file, it inserts cn: schema before the definition of standard schema including the definition on the cn attribute.
So make sure we treat cn as other schema attributes.
1 files modified
1 ■■■■ changed files
opends/src/server/org/opends/server/core/SchemaConfigManager.java 1 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/core/SchemaConfigManager.java
@@ -1535,6 +1535,7 @@
        attributeOid.equals("2.5.21.8") ||
        attributeOid.equals("2.5.4.3")  ||
        attributeOid.equals("1.3.6.1.4.1.1466.101.120.16") ||
        attributeOid.equals("cn-oid") ||
        attributeOid.equals("attributetypes-oid")      ||
        attributeOid.equals("objectclasses-oid")       ||
        attributeOid.equals("matchingrules-oid")       ||