APAR status
Closed as program error.
Error description
created based on escalation RATLC01437294 from client: I took a look at the suggestions and realized that if we use the Rhapsody 7.5.2 supported association abstraction (?class name?_ ?association name?) then the code generator actually will genera te the correct code for both a singleton and non-singleton imple mentation. When we want to create Test Conductor generated test of this cla ss, the test conductor generates incorrect code for the 'initRel ations' and 'cleanUpRelations' functions. static void initRelations(TCon_class_0* const me) { class_0_Init(?(me-?itsClass_0)); DummyDriver_of_class_0_Init(?(me-?itsDummyDriver_of_class_0)); TC_for_itsInterface_3_of_class_0_Init(?(me-?itsTC_for_itsInterfa ce_3_of_class_0)); } static void cleanUpRelations(TCon_class_0* const me) { TC_for_itsInterface_3_of_class_0_Cleanup(?(me-?itsTC_for_itsInte rface_3_of_class_0)); DummyDriver_of_class_0_Cleanup(?(me-?itsDummyDriver_of_class_0)) ; class_0_Cleanup(?(me-?itsClass_0)); } from developer: We have found it to be a general C Code Generation problem. The problem is that CodeGeneration does not recognize a situatio n where a singleton is used as a part of a class in a 'Brother' package.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** CodeGeneration does not recognize a singleton as a part of a Brother package
Problem conclusion
Fixed in 7.5.2.1
Temporary fix
Comments
APAR Information
APAR number
PM20249
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
751
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-08-10
Closed date
2010-09-16
Last modified date
2010-09-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
R751 PSN
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":"7.5.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
16 September 2010