IBM Support

PI77993: C++ OPERATION PARAMETER COMMENTS ARE NOT REFLECTED WHEN PERFORMING FORWARD OR REVERSE TRANSFORMATIONS USING RSA/RSA4WS

Subscribe

You can track all active APARs for this component.

 

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

[{"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