Fixes are available
Rational Software Architect Designer for WebSphere Software Fix Pack 1 (9.6.1) for 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
Rational Software Architect Designer Fix Pack 1 (9.6.1) for 9.6.0
Rational Software Architect Designer 9.7.0
Rational Software Architect Designer for WebSphere Software 9.7.0
Rational Software Architect Designer Fix Pack 2 (9.6.1.3) for 9.6.0
Rational Software Architect Designer for WebSphere Software Fix Pack 1 (9.6.1.3) for 9.6.0
APAR status
Closed as program error.
Error description
When using Rational Software Architect/Rational Software Architect for WebSphere for UML-to-C++ and C++-to-UML transformations, you may observe an issue where comments that have been added to a C++ operation parameter in a UML model documentation do not show up as a comment on the parameter in the generated code after the transformation. Similarly, when comments are added to the parameter in the C++ source code, and a C++-to-UML transformation is performed, the comments do not show up on the parameter's documentation properties as expected. Steps to reproduce: ------------------- Create a model with a C++ class and add a operator parameter with a comment on the parameter in the documentation section of the parameter properties. When you perform the transformation, examine the code and you will find that the comment does not appear in the code. For the reverse, comments added to parameters in C++ code will not be transformed to the respective parameter in the UML model.
Local fix
No known workaround; please contact support for a test fix
Problem summary
**************************************************************** * USERS AFFECTED: * * - * **************************************************************** * PROBLEM DESCRIPTION: * * C++ operation parameter comments are not considered in UML * * to C++ transformation and C++ to UML transformation * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
C++ operation parameter comments are not considered in UML to C++ transformation and C++ to UML transformation. The UML to C++ transformation and C++ to UML transformation have been enhanced to consider operation's parameter documentation. The comment in header file will look like int Operation( //<comment for parameter 1> bool Parameter1,
Temporary fix
Comments
APAR Information
APAR number
PI77993
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
2017-03-10
Closed date
2017-05-11
Last modified date
2017-05-11
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
Document Information
Modified date:
19 October 2021