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

jvergara
24.02.2008 76873cf7ce1d9160d018688cbe806ad7e67bbd1d
refs
author jvergara <jvergara@localhost>
Thursday, January 24, 2008 10:02 +0100
committer jvergara <jvergara@localhost>
Thursday, January 24, 2008 10:02 +0100
commit76873cf7ce1d9160d018688cbe806ad7e67bbd1d
tree 329dc9b486bb489488852c38b6d8a23aa1bdb202 tree | zip | gz
parent 91ffff639defea1f4d50bea853ccdf8aaffd5bf2 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
opends/src/messages/messages/version.properties 8 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/BuildInformation.java 4 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/upgrader/VersionIssueNotifier.java 4 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java 53 ●●●●● diff | view | raw | blame | history