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

Jean-Noël Rouvignac
25.47.2016 250c9bdd3c13d06682fd9f06f11ff2e426ac353a
opendj-server-legacy/src/main/java/org/opends/server/util/LDIFReader.java
@@ -824,9 +824,9 @@
      }
       //The attribute is not being ignored so check for binary option.
      if(checkSchema
      if (checkSchema
          && !attrType.getSyntax().isBEREncodingRequired()
          && attribute.hasOption("binary"))
          && attribute.getAttributeDescription().hasOption("binary"))
      {
        LocalizableMessage message = ERR_LDIF_INVALID_ATTR_OPTION.get(
          entryDN, lastEntryLineNumber, attrName);
@@ -1663,7 +1663,7 @@
    for (int j = 0; j < attrList.size(); j++)
    {
      Attribute a = attrList.get(j);
      if (a.hasOptions())
      if (a.getAttributeDescription().hasOptions())
      {
        continue;
      }