From e6970d683b85e1d32ef7172ca6a2c709e0710ccd Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Tue, 24 Nov 2009 11:06:16 +0000
Subject: [PATCH] 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.
---
opends/src/guitools/org/opends/guitools/controlpanel/ui/SimplifiedViewEntryPanel.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/ui/SimplifiedViewEntryPanel.java b/opends/src/guitools/org/opends/guitools/controlpanel/ui/SimplifiedViewEntryPanel.java
index 47b6c2d..6af0e3a 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/ui/SimplifiedViewEntryPanel.java
+++ b/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)));
}
--
Gitblit v1.10.0