IBM Support

PH04413: ATTRIBUTE DECLARATIONMODIFIER DUPLICATES KEYWORD IN RATIONAL RHAPSODY

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

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



Document information

More support for: Rational Rhapsody

Software version: 830

Reference #: PH04413

Modified date: 30 April 2019