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

jvergara
24.06.2009 a6825ae93e4ba7e3e888dc0ede6174de0fe4fae0
Fix for issue 4366 (NullPointerException when not entering a required value in an entry)
Use the proper key to retrieve the label associated with the attribute.
1 files modified
2 ■■■ changed files
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/SimplifiedViewEntryPanel.java 2 ●●● patch | view | raw | blame | history
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/SimplifiedViewEntryPanel.java
@@ -1345,7 +1345,7 @@
    {
      if (!hasValue(attrName))
      {
        setPrimaryInvalid(hmLabels.get(getConfirmPasswordKey(attrName)));
        setPrimaryInvalid(hmLabels.get(attrName));
        errors.add(ERR_CTRL_PANEL_ATTRIBUTE_REQUIRED.get(
            hmDisplayedNames.get(attrName)));
      }