Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-6248

fabric:version is considered to be digit only and separated by dot

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Minor
    • None
    • jboss-fuse-6.3
    • Fabric8 v1
    • None
    • % %

    Description

      When we create a version in fabric as 1.0.0_DEV001 is considered as 1.0.

      However, in fabric:version create we didn't get any errors.

      JBossFuse:karaf@root> version-create 1.0.0_DEV001
      Created version: 1.0.0_DEV001 as copy of: 1.0
      JBossFuse:karaf@root> 
      

      In the source: https://github.com/jboss-fuse/fabric8/blob/1.2.0.redhat-6-3-x/fabric/fabric-api/src/main/java/io/fabric8/api/VersionSequence.java
      The VersionSequence Class is not handling non numeric characters.
      if you have 1.0.0_DEV001 and 1.0.0_DEV002 as version numbers it is considered as 1.0 ( in the sequence comparator)
      Versions are considered to be digit only and separated by dot.

      Attachments

        Activity

          People

            acosenti Andrea Cosentino
            rhn-support-aboucham Abel Bouchama
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: