Version should not ignore SNAPSHOT classifier ---------------------------------------------
Key: MAGNOLIA-3252 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3252 Project: Magnolia Issue Type: Bug Components: updatemechanism Affects Versions: 4.3.2 Reporter: Nils Breunese Assignee: Boris Kraft Priority: Minor We have used some Magnolia and STK/ETK SNAPSHOT jars for a while on our central development repository and upgraded to final releases when they became available. The version numbers in the configuration workspace still say "4.3.2-SNAPSHOT" and "1.3.1-SNAPSHOT" though. Javadoc for info.magnolia.module.model.Version says: "Format is x.y.z-classifier. y,z and classifier are optional. The classifier string is ignored in version comparisons." I feel this could result in problems if version handler are changed during the SNAPSHOT phase. We install the SNAPSHOT jar, the module version is set to a SNAPSHOT version in the configuration workspace, but when we later upgrade to the release jar the Version class doesn't think the release version number is more recent, so the version handler won't be executed again. I feel it would be good to modify the Version class to reflect that version "x.y.z" is more recent than "x.y.z-SNAPSHOT". -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------