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

    • Type: Enhancement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: jboss-fuse-6.3
    • Fix Version/s: None
    • Component/s: Fabric8 v1
    • Labels:
      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                oscerd Andrea Cosentino
                Reporter:
                rhn-support-aboucham Abel BOUCHAMA
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: