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

jvergara
22.52.2007 34eeb0f7371dcd4fb24dae2c25918a96d9a65f32
refs
author jvergara <jvergara@localhost>
Thursday, November 22, 2007 12:52 +0100
committer jvergara <jvergara@localhost>
Thursday, November 22, 2007 12:52 +0100
commit34eeb0f7371dcd4fb24dae2c25918a96d9a65f32
tree d43b35e3c50fac5b7017ed7671f437b3efc98af3 tree | zip | gz
parent 9cc2d2ee0e65dcebe6099e4f22f7497ae3685f4f 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
opendj-sdk/opends/src/messages/messages/quicksetup.properties 16 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/CliUserInteraction.java 98 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/Installation.java 26 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/MigrationManager.java 136 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/UpgradeFileFilter.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/UpgradeProgressStep.java 3 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java 42 ●●●●● diff | view | raw | blame | history