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

jvergara
26.23.2008 68f86e3be364e0974c328d6b50f5f4c932abb0aa
refs
author jvergara <jvergara@localhost>
Wednesday, March 26, 2008 18:23 +0100
committer jvergara <jvergara@localhost>
Wednesday, March 26, 2008 18:23 +0100
commit68f86e3be364e0974c328d6b50f5f4c932abb0aa
tree f16bea3b69e6f27764782202a59c76a45d47f08f tree | zip | gz
parent 377ff70846d94bdc2d5925d6b47ce0c35dcca314 view | diff
Fix for issues 3086 and 3087 (Command uninstall --cli should not uninstall when the user have not answer "yes")

The fix consists of considering that the user cancelled the uninstaller when providing invalid confirmation or menu data.

The MenuBuilder class has been extended to be able to limit the number of tries that the user has to give a valid menu option. The current behavior (unlimited tries) is kept by default. The uninstaller limits the number of tries in the menu to be consistent with what is done with the confirmation messages (the number of tries is limited to 5).
5 files modified
65 ■■■■ changed files
opendj-sdk/opends/src/guitools/org/opends/guitools/uninstaller/UninstallCliHelper.java 11 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/Launcher.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/QuickSetupCli.java 3 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/cli/ConsoleApplication.java 10 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/cli/MenuBuilder.java 37 ●●●● diff | view | raw | blame | history