Fixes are available
APAR status
Closed as program error.
Error description
Headline: Issues with code generation of stereotyped operations Abstract: Attempts to generate code for Stereotyped operations results in wrong unexpected results. error_description: When generating C code out of the Rhapsody model, code is not correctly generated for stereotyped operations. Steps to Reproduce: Please refer the attached model: a] There are 2 stereotypes (for the AUTOSAR compiler abstraction). One for an operation and the other for an attribute. b] Some properties are overridden for the stereotypes. On Generating code, there are 2 main problems: 1. The variable $objectName is not replaced by the tool for both attribute and operation. 2. The stereotype for the operation is not respected by code generation. So a default operation is generated instead of an AUTOSAR compiler abstraction. Note: If the same property is used locally, then it works. Adding it through a stereotype yields no effect. Workaround: No Known workaround. Attachments: StereotypeCodeProblem.zip contains the sample model
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** Incorrect code generated when using stereotyped operations.
Problem conclusion
Fixed in version 8.0.4
Temporary fix
Comments
APAR Information
APAR number
PM86533
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
801
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-04-08
Closed date
2013-09-04
Last modified date
2013-09-04
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
R801 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.1","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
06 January 2022