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

matthew_swift
23.55.2007 802263ae38d5d54acdd4945dbbce39c5f6bd26eb
opends/src/server/org/opends/server/admin/client/PropertySet.java
@@ -417,7 +417,10 @@
    }
    if (values.isEmpty() && d.hasOption(PropertyOption.MANDATORY)) {
      throw new PropertyIsMandatoryException(d);
      // But only if there are no default values.
      if (property.getDefaultValues().isEmpty()) {
        throw new PropertyIsMandatoryException(d);
      }
    }
    // Validate each value.