IBM Support

PM67147: ClearCase Automation Library CCPolicy put_value() method incorrectly takes a BSTR* parameter.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • put_value method.
    
    Further investigation showed that this method, of all the
    'put...' methods, takes a BSTR* parameter instead of a straight
    BSTR parameter. This is incorrect behavior for a few reasons:
    1) This means that the value is passed by address, and may cause
    later issues if the value 'disappears' (depending on how the
    assignment in this method works under the covers)
    2) It is inconsistent with the other 'put...' methods.
    3) It seems that there is no way to get the compiler to accept
    ANY definition of this COM method.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When creating an IBM Rational ClearCase Automation Library
    (CAL) application using Microsoft Visual Studio 2010 using
    managed code, there seems to be no way to get Visual C++
    2010 to accept the CCPolicy::put_value method.
    

Problem conclusion

  • This problem is fixed in ClearCase 7.1.2.9 and 8.0.0.5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM67147

  • Reported component name

    CC&CC MSITE WIN

  • Reported component ID

    5724G3300

  • Reported release

    712

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-06-19

  • Closed date

    2012-12-15

  • Last modified date

    2012-12-15

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

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

Fix information

  • Fixed component name

    CC&CC MSITE WIN

  • Fixed component ID

    5724G3300

Applicable component levels

  • R712 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSH3S","label":"Rational ClearCase MultiSite"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 December 2012