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
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.6","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
16 December 2015