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

matthew_swift
06.44.2007 08fa1ef1dc14705c3348dae159cf4c72f445d979
refs
author matthew_swift <matthew_swift@localhost>
Friday, July 6, 2007 10:44 +0200
committer matthew_swift <matthew_swift@localhost>
Friday, July 6, 2007 10:44 +0200
commit08fa1ef1dc14705c3348dae159cf4c72f445d979
tree 334e1ccb02310e0278fb5a2d963e90edf2d6f78d tree | zip | gz
parent dca67b8daacff113283fc1950cfcee73cb83c094 view | diff
Fix issue 1826: delete of missing managed objects should throw error in dsconfig

This change fixes a bug in the admin framework where an attempt to delete a non-existent managed object would not throw a ManagedObjectNotFoundException. In addition, a "-f" (or "--force") option has been added to the dsconfig delete-xxx sub-command to simulate the "-f" usage supported in the Unix "rm" command. If the "-f" option is specified, then no error will be returned to the client if the named managed object or its parents do not exist.
4 files modified
177 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/admin/client/ldap/LDAPManagedObject.java 4 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/messages/ToolMessages.java 13 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/dsconfig/CLIProfile.java 19 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/dsconfig/DeleteSubCommandHandler.java 141 ●●●●● diff | view | raw | blame | history