IBM Support

PM48060: Incorrect code generated for accessor of association with multiplicity greater than 1.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Incorrect code generated for accessor of association with
    multiplicity greater than 1.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Incorrect code generated for accessor of association with
    multiplicity greater than 1.
    

Problem conclusion

  • "Get" helper function for association with multiplicity
    greater than 1 return an iterator for the collection. In
    case of StaticArray the iterator is just an array index.But
    if you enable property CPP_CG::Relation::GetAtGenerate it
    will generate a better function.    //## auto_generated
    Module* getItsModuleAt(int i) const;
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM48060

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    760

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-09-16

  • Closed date

    2011-10-27

  • Last modified date

    2011-10-27

  • 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

  • R760 PSN

       UP

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

Document Information

Modified date:
28 October 2021