APAR status
Closed as program error.
Error description
Summary: ******** Incorrect behavior leads to incorrect code generation in models updraded from 7.5 to 7.5.1. Description: ************ Rhapsody 7.5 declares a variable 'ROOT_timeout' of IOxfTimeout* type but for 7.5.1 the same variable has been changed to 'rootSt ate_timeout'. This behavior can be observed in the generated cod e files for 7.5 and 7.5.1 models respectively. There is a concern when we have 'DMCA' set to bidirectional and 'GenerateCodeInBrowser' set to true. In such a case, if the gene rated code is either modified intentionally or by accident, Rhap sody automatically generates the timeout related functions in th e browser. Now considering one is working with 7.5, there functi ons have references to the original 'ROOT_timeout' variable. All is fine till now. Now if we take a saved 7.5 model as described above and migrate it to 7.5.1, the next time code is generated in 7.5.1 these func tions that had been generated in the browser (with ROOT_timeout) override the actual code that should have been generated (rootS tate_timeout) for 7.5.1. This leads to undeclared identifier rel ated compiler errors as 'ROOT_timeout' that is being generated b ecause of the functions that had been generated in the browser i s actually not defined. The corrosponding header file for the cl ass in question has a 'rootState_timeout' variable declared (as it should be in 7.5.1).
Local fix
Problem summary
Incorrect code generation for 7.5 models upgraded to 7.5.1.
Problem conclusion
This problem has been corrected in release 7.5.1.1.
Temporary fix
Comments
APAR Information
APAR number
PM06439
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
720
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-01-29
Closed date
2010-03-24
Last modified date
2010-03-24
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
R720 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.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
24 March 2010