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

Nicolas Capponi
18.37.2016 c66bf053f20e1334b91eeca8b981c4998f50ee4f
OPENDJ-2987 Fix issue in name form syntax parsing
1 files modified
2 ■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/schema/NameFormSyntax.java 2 ●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/schema/NameFormSyntax.java
@@ -370,7 +370,7 @@
        StringBuilder woidBuffer = new StringBuilder();
        pos = readWOID(lowerStr, woidBuffer, pos);
        structuralClass = schema.getObjectClass(woidBuffer.toString());
        if (!structuralClass.isPlaceHolder())
        if (structuralClass.isPlaceHolder())
        {
          // This is bad because we don't know what the structural objectclass is.
          if (!allowUnknownElements)