IBM Support

PH04413: ATTRIBUTE DECLARATIONMODIFIER DUPLICATES KEYWORD IN RATIONAL RHAPSODY

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When you add a keyword value to the property
    CPP_CG::Attribute::DeclarationModifier to an array attribute in
    Rhapsody, the attribute is declared using that keyword twice in
    the same declaration.
    
    Steps to reproduce:
    1. Create a new model in Rhapsody.
    2. Create a class with an attribute.
    3. Add the word "modifier" without quotes to the attributes
    CPP_CG::Attribute::DeclarationModifier property.
    4. Generate code.
    
    Results:
    If the attribute has a Multiplicity of "1", then the attribute
    declaration is correct.
    However, if the Multiplicity is set to a higher number, e.g.
    "10", then the new "modifier" keyword is added to the
    declaration twice, which is incorrect.
    
    Workaround:
    There is no known workaround.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Attribute DeclarationModifier duplicates keyword in Rational *
    * Rhapsody                                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Code generation of attribute add the property
    CPP_CG::Attribute::DeclarationModifier value  twice to the
    attribute decleration when the attribute multiplicity is  number
    larger then one
    Problem solved
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH04413

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    830

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-10-23

  • Closed date

    2019-04-30

  • Last modified date

    2019-04-30

  • 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

  • R830 PSY

       UP

[{"Line of Business":{"code":"LOB02","label":"AI Applications"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"830"}]

Document Information

Modified date:
13 September 2021