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

jvergara
22.52.2007 acf366600b023d36567df4724a498071dc45395b
refs
author jvergara <jvergara@localhost>
Thursday, November 22, 2007 12:52 +0100
committer jvergara <jvergara@localhost>
Thursday, November 22, 2007 12:52 +0100
commitacf366600b023d36567df4724a498071dc45395b
tree f225674a34c5b86b16747d6acb3a54f3355a13a6 tree | zip | gz
parent 299c443532bd73ed996ffcc114053ad1a58d16b5 view | diff
Fix for issue 2613

The upgrader is breaking replication (and not just dsreplication).

The problem occurs because the upgrader is systematically overwriting the contents of the admin-backend.ldif file when it should not. The fix consists on not updating this file unless it does not exist.

The same fix has been applied to tool.properties since it was also systematically overwritten (and so the user lost the changes made to it).

Appart some fixes related to message formatting are also included in the attached diff file. The code used to display messages with HTML formatting in CLI mode, so specific messages have been added when the upgrade is run from the command line.

Finally the code of the upgrader has been updated to use the MenuBuilder class. This is done to have a consistent output with the rest of the command-lines.
7 files modified
325 ■■■■ changed files
opends/src/messages/messages/quicksetup.properties 16 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/CliUserInteraction.java 98 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/Installation.java 26 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/MigrationManager.java 136 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/UpgradeFileFilter.java 4 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/UpgradeProgressStep.java 3 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java 42 ●●●●● diff | view | raw | blame | history