Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-1676

Version can't be parsed during second bootstrap

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.5 RC1
    • 3.1 M3
    • core
    • None
    • Eclipse 3.2.2, wtp, jdk 1.5, tomcat 5.0, linux ubuntu 7.04

    Description

      In info.magnolia.module.model.Version.java, more specifically in the private constructor.
      The version string is parsed to get a short to differentiate the major, the minor and the patch version.
      On the first start of Magnolia, as the project is not build with maven or with whatever mecanism, the variable ${project.version} is not set, so Magnolia replaced it with the value (dev). This value is parsed as mentioned previously that's why a numberformat exception raises, so Magnolia can't start.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              hcapitaine Capitaine Harold
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD