mgirod / clearcase-cpan

Automatically exported from code.google.com/p/clearcase-cpan
0 stars 0 forks source link

mklbtype -inc fails silently when the type is locked #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ct mklbtype -inc lbtype:MG
2. ct des -ahl EqInc lbtype:MG
MG
  Hyperlinks:
    EqInc -> lbtype:MG_2.14@/vobs/atcctest
3. ct lslock lbtype:MG
03-Apr.22:04   emagiro    lock label type "MG" (locked)
  "Locked for all users."

What is the expected output? What do you see instead?

The equivalent label type should have been incremented,
or an error for the type being locked should have been
printed.

Please use labels and text to provide additional information.

r278

Original issue reported on code.google.com by marc.girod on 8 Apr 2009 at 2:55

GoogleCodeExporter commented 9 years ago
In fact, nothing happened at all...
Even after unlocking

Original comment by marc.girod on 8 Apr 2009 at 2:57

GoogleCodeExporter commented 9 years ago
The command is faulty. It should be:
  mklbtype -inc MG
not: ... lbtype:MG
but the error report fails

Original comment by marc.girod on 8 Apr 2009 at 3:07

GoogleCodeExporter commented 9 years ago
This command has one other problem: it doesn't have a comment specification
(i.e. -neither "-c 'xxx'" nor "-nc").
As for now, this tends to hang, so I cannot reproduce myself!

My attempts to reproduce give different results (but the code has evolved since
the report -r344):

wran_cm_makesystem> ct mklbtype -nc -inc ZZZ
Created label type "ZZZ_1.01".
cleartool: Error: Lock on label type "ZZZ" prevents operation "remove 
hyperlink".
cleartool: Error: Unable to remove hyperlink "EqInc@14290@/wran_cm_makesystem".
cleartool: Error: Lock on label type "ZZZ" prevents operation "make hyperlink".
cleartool: Error: Unable to create hyperlink "EqInc".

...in fact questionable...

or from an other vob:

ClearCase-Wrapper-MGi> ct mklbtype -nc -inc ZZZ@/wran_cm_makesystem
cleartool.plx: Error: Unable to determine VOB for pathname ".".

different bug...

Original comment by marc.girod on 20 Jun 2009 at 4:05

GoogleCodeExporter commented 9 years ago
The different bugs are all fixed at the present time (r389)

Original comment by marc.girod on 16 Aug 2009 at 2:46