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'.
======================================================================================================
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21392335