PK12593: CLEARCASE_COMMENT CANNOT BE UPDATED FROM PROJECT EXPLORER ON UNIX MACHINES

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • There is a trigger to create email after mkbl.
    This works fine when baseline is made from CLI on both
    Windows and UNIX and Project Explorer on Windows, but it does
    not work from Project Explorer on UNIX.
    Trigger own works without any problem, but can't retreive
    correct comment for mkbl from UNIX GUI.
    
    <Steps to repro>
    1.Create trigger on UNIX machine.
    cleartool mktrtype -ucm -all -postop mkbl -exec 'perl
    /tmp/getcom.pl' COMMENT
    
    *Contents of "getcom.pl"
    my $diffbl = `$CT_PATH diffbl -predecessor
    $ENV{'CLEARCASE_BASELINES'}`;
    my @MSG =
     ("
    project:   $ENV{'CLEARCASE_PROJECT'}
    baseline:  $ENV{'CLEARCASE_BASELINES'}
    component: $ENV{'CLEARCASE_COMPONENT'}
    user:      $ENV{'CLEARCASE_USER'}
    comment:   $ENV{'CLEARCASE_COMMENT'}
    diffbl:
    $diffbl\n");
    $out = "/tmp/msg.txt";
    open OUT, ">$out" or die "error";
    foreach (@MSG) {
     print OUT "$_";
    }
    
    2.Create baseline from Project Explorer on UNIX and add comment
    (lat's say "comment1").
    
    3.If you check "/tmp/msg.txt" file, you'll see the comment
    correctly ("comment1").
    
    4.Make another baseline with different comment ("comment2").
    
    5.Open "/tmp/msg.txt" file. It shows old comment "comment1".
    
    Interestingly, cleartool lsbl displays correct comment.
    
    One workaround is closing Project Explorer each time, and
    comment will be updated correctly, but this workaround is not
    reliable since if someone forgets to close Project Explorer
    before making baseline, you will get a wrong comment for the
    baseline.
    

Local fix

  • One workaround is to close Project Explorer each time which is
    not so reliable.
    

Problem summary

  • The CLEARCASE_COMMENT environment variable is not set when
    creat
    ing a UCM project from the Project Explorer GUI.
    

Problem conclusion

  • Fixed in ClearCase 7.0.0.0.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK12593

  • Reported component name

    CLEARCASE UNIX

  • Reported component ID

    5724G2901

  • Reported release

    60H

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2005-09-30

  • Closed date

    2006-06-09

  • Last modified date

    2006-06-09

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • na
    

Fix information

  • Fixed component name

    CLEARCASE UNIX

  • Fixed component ID

    5724G2901

Applicable component levels

  • R60H PSN

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational ClearCase

Software version:

6.0.H

Reference #:

PK12593

Modified date:

2006-06-09

Translate my page

Machine Translation

Content navigation