[
https://issues.apache.org/jira/browse/SCM-812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17963259#comment-17963259
]
ASF GitHub Bot commented on SCM-812:
------------------------------------
jira-importer commented on issue #1044:
URL: https://github.com/apache/maven-scm/issues/1044#issuecomment-2964640929
**[Chris
Graham](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=chrisgwarp)**
commented
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 (Moved to GitHub Issues)
> 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
> Priority: Major
> 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
(v8.20.10#820010)