Fixes are available
Rational Software Architect Designer 9.6.0
Rational Software Architect Designer for WebSphere Software 9.6.0
Rational Software Architect Designer for WebSphere Software Fix Pack 3 (9.5.0.3) for 9.5.0
Rational Software Architect Designer Fix Pack 3 (9.5.0.3) for 9.5.0
Rational Software Architect Fix Pack 3 (9.1.2.3) for 9.1.2
Rational Software Architect for WebSphere Software Fix Pack 1 (9.1.2.3) for 9.1.2
APAR status
Closed as program error.
Error description
When using the RSA C++ transformation to generate code from a UML C++ model into a C++ project, the namespace may not get generated in the header files if the transformation is done from a model element (e.g. class). Steps to reproduce: ------------------------- To reproduce the issue, simply select a class within the UML namespace package and try running the transformation; the class will get generated, but the header file will not have a namespace package.
Local fix
When running the transformation, select the namespace UML package; this will correctly generate a namespace in the resulting header file
Problem summary
**************************************************************** * USERS AFFECTED: * * - * **************************************************************** * PROBLEM DESCRIPTION: * * When using the C++ transformation to generate code from a * * UML C++ model into a C++ project, the namespace may not get * * generated in the header files if the transformation is done * * from a model element (e.g. source is selected as "class"). * * It works only when the source element is a "package". * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
"When using the C++ transformation to generate code from a UML C++ model into a C++ project, the namespace may not get generated in the header files if the transformation is done from a model element (e.g. source is selected as ""class""). It works only when the source element is a ""package"". As C++ transformation creates folders for the respective parent packages, it is appropriate to consider the namespace information from the parent containers even when the selection is not a package (in this case, it is a ""class""). This is now fixed."
Temporary fix
Comments
APAR Information
APAR number
PI70729
Reported component name
RATL SW ARCHITE
Reported component ID
5725A3000
Reported release
911
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-10-14
Closed date
2016-12-22
Last modified date
2016-12-22
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
RATL SW ARCHITE
Fixed component ID
5725A3000
Applicable component levels
R911 PSY
UP
R912 PSY
UP
R950 PSY
UP
R960 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"911","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
19 October 2021