It's all about the answers!

Ask a question

Duplciate ID gets created for different baseline in SCM


0
1
Rajat Krishnan (558) | asked Oct 27 '22, 4:56 a.m.
Hello,
I see for some of the RTC SCM components, some of the baseline are having same/duplicated ID's(Reference as shown below)

for example in above image its 501 which is duplicated.
So, May i know
  • In which case this scenario happens?
  • How to avoid it?
  • And what is work around for this as most of the process expert refer to this GUI , so we cannot ask them to copy url and refer UUID of baseline which is perhaps unique.
  • Is there any running IBM Case over this ?
Thank you

One answer



permanent link
David Lafreniere (4.8k7) | answered Oct 27 '22, 2:01 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
edited Oct 27 '22, 2:04 p.m.

It is true that the baseline ID is not guaranteed to be unique.

In some rare cases, baselines created in a clustered environment around the same time may be assigned the sameshort hand ID (for the most part this is rare..). There is no strict work-around to avoid this rare situation.
A process workaround could be to incorporate the ID in conjunction with the baseline name when considering which baseline to select.

The following RFE work item is related:
Baseline Id is not unique, sequential, required, or verified (479891)

Also, the Javadoc in the public API IBaseline for the baseline ID is:

   /
     Returns the id for this baseline. The id is not guaranteed to be unique for each component/baseline
     pair. The id is meant to be shown to the user as a shorthand.
    
     @return the id for this baseline
    */
   public int getId();

Your answer


Register or to post your answer.