IBM Support

ClearCase administrative user is able to move a version map label without warning

Troubleshooting


Problem

This technote identifies a defect that allows an IBM Rational ClearCase administrator to move a version map label without a warning.

Symptom

When a user (non ClearCase Administrator) attempts to move a label, for example in Version Tree Browser, and that label is a baseline label (version map), then it fails with an error:


Failed to apply label to element.                              
Cannot modify an lbtype that is a version map.                  
Trouble applying label to ...'                                
Unable to create label 'XXXXX' on '...'  




However, if the user happens to be a ClearCase Administrator, then the operation succeeds without a warning.
This causes baseline integrity issues.

By contrast, if the ClearCase Administrator moves the label using a cleartool mklabel -replace command, they get a warning as follows:

====================================================================================================== > cleartool mklabel -replace Milestone_5 'Baseline Suffixes.txt@@\main\TEST_Integration\3'                                      

cleartool: Warning: Modifying an lbtype that is a version map should be done only for repair purposes under the supervision of Customer Support.                                                

Moved label 'Milestone_5' on 'Baseline Suffixes.txt' from version '\main\TEST_Integration\2' to '\main\TEST_Integration\3'.    

======================================================================================================

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"UCM: Baseline","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.0.3;7.0.0.4;7.0.0.5;7.0.0.6;7.0.0.7;7.0.1;7.0.1.1;7.0.1.2;7.0.1.3;7.0.1.4;7.0.1.5;7.0.1.6;7.1;7.1.0.1;7.1.0.2","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
16 June 2018

UID

swg21392335