summaryrefslogtreecommitdiffstats
path: root/base/java-tools
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2014-08-26 18:49:56 -0400
committerEndi S. Dewata <edewata@redhat.com>2014-08-27 13:05:49 -0400
commit579ca2f8c894087c839e60b7c5775b5e7483362a (patch)
treeb301399cbd6faf28024fa6456ce8060f381e62ce /base/java-tools
parent6444287caa2ad171086d0ce9d93761a897247e06 (diff)
downloadpki-579ca2f8c894087c839e60b7c5775b5e7483362a.tar.gz
pki-579ca2f8c894087c839e60b7c5775b5e7483362a.tar.xz
pki-579ca2f8c894087c839e60b7c5775b5e7483362a.zip
Fixed problems in group operations.
Previously modifying the description of an empty group failed because the server tried to delete a uniqueMember attribute that did not exist because the group was already empty. The servlets and group subsystem has been fixed to retrieve the existing group data first, perform the changes on it, then save it back to the database. Also adding a new group will no longer require a description because it's not required by the LDAP object class. Ticket #818
Diffstat (limited to 'base/java-tools')
-rw-r--r--base/java-tools/src/com/netscape/cmstools/group/GroupAddCLI.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/base/java-tools/src/com/netscape/cmstools/group/GroupAddCLI.java b/base/java-tools/src/com/netscape/cmstools/group/GroupAddCLI.java
index 6d824fe1a..8bb529aef 100644
--- a/base/java-tools/src/com/netscape/cmstools/group/GroupAddCLI.java
+++ b/base/java-tools/src/com/netscape/cmstools/group/GroupAddCLI.java
@@ -42,13 +42,12 @@ public class GroupAddCLI extends CLI {
}
public void printHelp() {
- formatter.printHelp(getFullName() + " <Group ID> --description <Description> [OPTIONS...]", options);
+ formatter.printHelp(getFullName() + " <Group ID> [OPTIONS...]", options);
}
public void createOptions() {
Option option = new Option(null, "description", true, "Description");
option.setArgName("description");
- option.setRequired(true);
options.addOption(option);
}