IBM Support

PI65322: VARIATIONPOINT STEREOTYPE ASSIGNED TO OBJECT NO LONGER COMPILES

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Using an object as a VariationPoint used to generate the correct
    code. Now the code no longer compiles.
    
    STEPS TO REPRODUCE
    1. Add object called "VariationPointObj" and set
    <<VariationPoint>> stereotype.
    2. Add two objects called "VariantObj1" and "VariantObj2" and
    set <<Variant>> stereotype on both
    3. Add dependency from "VariantObj1" to "VariationPointObj" and
    set <<varies>> stereotype
    4. Add dependency from "VariantObj2" to "VariationPointObj" and
    set <<varies>> stereotype
    
    Expected code (working in 8.1):
    
    //## classInstance VariantObj2
    extern VariantObj2_C VariantObj2;
    
    //## classInstance VariationPointObj
    #define VariationPointObj VariantObj2
    
    actual code (broken in 8.1.1):
    
    //## classInstance VariantObj2
    extern VariantObj2_C VariantObj2;
    
    //## classInstance VariationPointObj
    #define VariantObj2
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody users                                               *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * VariationPoint stereotype assigned to object no longer       *
    * compiles                                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed in Rhapsody 8.2 - Generation of macro, which represents
    variant object, was fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI65322

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    810

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-07-05

  • Closed date

    2016-12-05

  • Last modified date

    2016-12-05

  • 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

    TLOGIC RHAPSODY

  • Fixed component ID

    5724V74RP

Applicable component levels

  • R811 PSN

       UP



Document information

More support for: Rational Rhapsody

Software version: 8.1

Reference #: PI65322

Modified date: 05 December 2016