From 579ca2f8c894087c839e60b7c5775b5e7483362a Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Tue, 26 Aug 2014 18:49:56 -0400 Subject: 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 --- base/java-tools/src/com/netscape/cmstools/group/GroupAddCLI.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'base/java-tools/src/com') 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() + " --description [OPTIONS...]", options); + formatter.printHelp(getFullName() + " [OPTIONS...]", options); } public void createOptions() { Option option = new Option(null, "description", true, "Description"); option.setArgName("description"); - option.setRequired(true); options.addOption(option); } -- cgit