Created attachment 126656 [details] CVS Diffs
Now that the Console versioning scheme includes a third digit used for patch releases, we need to modify the checkVersion method to only return the "major.minor" version. This method is used by server jarfiles to check for compatibility. Without this change, backwards compatibility breaks.
I referred to the incorrect method name in comment #1. The correct method name is getVersionNumber.
Checked into console (HEAD). Reviewed by Noriko. Checking in build.xml; /cvs/dirsec/console/build.xml,v <-- build.xml new revision: 1.12; previous revision: 1.11 done Checking in startconsole-sandbox; /cvs/dirsec/console/startconsole-sandbox,v <-- startconsole-sandbox new revision: 1.2; previous revision: 1.1 done Checking in src/com/netscape/management/client/console/VersionInfo.java; /cvs/dirsec/console/src/com/netscape/management/client/console/VersionInfo.java,v <-- VersionInfo.java new revision: 1.3; previous revision: 1.2 done Checking in src/com/netscape/management/client/console/genverinfo.sh; /cvs/dirsec/console/src/com/netscape/management/client/console/genverinfo.sh,v <-- genverinfo.sh new revision: 1.3; previous revision: 1.2 done
Verified that the two-part version number is stored in the versioninfo.properties file contained in idm-console-mcc_en.jar. This property is used by the getMajorVersionNumber() method, which is called when checking is server jars are compatible with the running Console framework. Marking as VERIFIED.