A fix is available
APAR status
Closed as program error.
Error description
Attempting to set a different implementation name using the property CPP_CG::Type::ImplementationName results in the incorrect code being generated. SYMPTOM When you create a type in Rhapsody C++ and set a different implementation name to appear in the code using the property CPP_CG::Type::ImplementationName the incorrect code is generated, with the model name being used in places. Results: The generated code contains references to the model name of the Type, and as such will give errors when you attempt to compile. Steps To reproduce: 1. Create a new model in Rhapsody. 2. Create a Class. 3. Add a new Type to the Default package. 4. Create an Attribute for the created Class of the newly created Type. 5. Generate the code. WORKAROUND Instead of using the property CPP_CG::Type::ImplementationName you can change the model name of the type using labels, which can be set in the features dialog in the General tab by selecting the "L" button next to the name field. You will also have to turn on Label Mode by selecting View -> Label Mode.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** Using CPP_CG::Type::ImplementationName results in the incorrect code generated for C++ in IBM Rational Rhapsody
Problem conclusion
Fixed in 8.1
Temporary fix
Comments
APAR Information
APAR number
PI11688
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
805
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-02-13
Closed date
2014-06-02
Last modified date
2014-06-02
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
R805 PSN
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.5","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
17 October 2021