[ 
https://issues.apache.org/jira/browse/SCM-812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15234014#comment-15234014
 ] 

Chris Graham commented on SCM-812:
----------------------------------

Fixed in c604447.


> 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.7, 1.8, 1.8.1, 1.9, 1.9.1, 1.9.2, 1.9.4
>         Environment: N/A
>            Reporter: Chris Graham
>            Assignee: Chris Graham
>             Fix For: 1.9.5
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> 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)

Reply via email to