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

matthew_swift
06.44.2007 0f27e95935087142ed026374603adb3746d9b67b
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
commit0f27e95935087142ed026374603adb3746d9b67b
tree f9d9565e56a94df26f4a977121182ab1d3a191f7 tree | zip | gz
parent 618739bd8270ce5e4bebebe30359daa86b1c7fe5 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
opends/src/server/org/opends/server/admin/client/ldap/LDAPManagedObject.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/messages/ToolMessages.java 13 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/dsconfig/CLIProfile.java 19 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/dsconfig/DeleteSubCommandHandler.java 141 ●●●●● diff | view | raw | blame | history