You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Chris Graham (JIRA)" <ji...@apache.org> on 2015/12/17 04:53:46 UTC

[jira] [Created] (SCM-812) Jazz SCM Alias Id's roll over to zero, not 1000 as advertised.

Chris Graham created SCM-812:
--------------------------------

             Summary: Jazz SCM Alias Id's roll over to zero, not 1000 as advertised.
                 Key: SCM-812
                 URL: https://issues.apache.org/jira/browse/SCM-812
             Project: Maven SCM
          Issue Type: Bug
          Components: maven-scm-provider-jazz
    Affects Versions: 1.9.4, 1.9.2, 1.9.1, 1.9, 1.8.1, 1.8, 1.7
         Environment: N/A
            Reporter: Chris Graham
            Assignee: Chris Graham
             Fix For: 1.9.5


Seen in RTC 4.0.2.
The aliasId that the SCM CLI client creates starts at 1000 and increments by one for each change needed. It, according to IBM, is meant to roll over from 9999 to 1000 again (choosing the oldest and least used value). However, it does not. It rolls over to 0.

This in itself is not a problem, however, as we (currently) treat it as an Int, for an aliasId of (for example) 23, it needs "0023" (with the leading zeros) not "23" (if we treat it purely as an int).

So, the solution is to print the alias id with leading zeros.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)