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

jvergara
24.02.2008 ed486cc485e43deae1d83706310522685bdf3c9b
refs
author jvergara <jvergara@localhost>
Thursday, January 24, 2008 10:02 +0100
committer jvergara <jvergara@localhost>
Thursday, January 24, 2008 10:02 +0100
commited486cc485e43deae1d83706310522685bdf3c9b
tree dc6f27d63c271acb126b99c4de5a1e357267b91c tree | zip | gz
parent 361ef6863dfd06dbe100e2c982dfd7cd89f82a0b view | diff
There was a flag day when the new security framework was added in build 1.0.0 build 6.  The following changes address the issue.  The main thing that has been updated are the changes at the end of VersionCompatibilityIssue.  The problem is that the code relied only on the fact that a flag day was known (we register the flag days).  However it can happen (as it is the case) that a flag day is registered in the code way after the changes occurred.  So when we registered a flag day, systematically we could not upgrade from previous builds.

For instance: a flag day corresponding to build 6 is registered now (candidate build 11). Without these modifications this would prevent to upgrade from build 7 or build 8 to the current build. That is why the new code actually checks the revision corresponding to the flag day and the revision of the new build. If the new build is newer than the revision of the flag day then we consider that there is no problem and we continue with the upgrade.



4 files modified
69 ■■■■ changed files
opendj-sdk/opends/src/messages/messages/version.properties 8 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/BuildInformation.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/VersionIssueNotifier.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java 53 ●●●●● diff | view | raw | blame | history