IBM Support

PI47955: ROUNDTRIP IGNORES PROPERTY C_CG::OPERATION::PUBLICNAME

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • For an operation the property C_CG::Operation::PublicName is set
    to ECU_.
    This generates the code
    ECU_Operation_0(class_0* const me).
    
    After roundtrip in Rhapsody the operation is also named
    ECU_Operation_0 and a new code generation generates
    ECU_ECU_Operation_0 (duplicated ECU_ !!!)
    
    This can be observed in mode
    C_Roundtrip::General::RoundtripScheme = Respect.
    It does not occur in mode Basic.
    
    Nevertheless also in Respect and Advanced mode the property
    C_CG::Operation::PublicName needs to be evaluated.
    
    
    Additional the operation argument "me" is added as new argument
    to the operations and also appears in the browser.
    When the property C_CG::Operation::Me is changed to "instance"
    you get the code:
    void ECU_Operation_0(class_0* const instance)
    and after roundtrip you see the argument "instance" as argument
    in Rhapsody (browser and feature dialog).
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody 8.1.3                                               *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * 1. Roundtrip ignores property C_CG::Operation::PublicName    *
    * when it set  on file, class or operation (Roundtrip look     *
    * only at container package property)                          *
    *                                                              *
    * 2. Roundtrip  fail to recognize  me argument when property   *
    * C_CG::Operation::Me is set on on file, class or operation;   *
    * rename of me argument cause adding new argument              *
    * (Roundtrip look only at container package property)          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • 1.Fixed in 8.1.4.
    
    2. Work as design, The me argument name is the way Roundtrip
    find the function class, so in order for Roundtrip to use the
    correct context it can't be on the class or it's function
    (had to be on containing package)
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI47955

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    806

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-09-01

  • Closed date

    2015-12-16

  • Last modified date

    2015-12-16

  • 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

  • R813 PSY

       UP



Document information

More support for: Rational Rhapsody

Software version: 8.0.6

Reference #: PI47955

Modified date: 16 December 2015