IBM Support

PM05704: Wrong code generated for initRelation() when having object multi plicty ? 1

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In the attached model,the generated code of anObject includes in
    itRelations() with the below definition :
    
    for (int i = 0; i ? 5; i++)
                newMyPart('hi', i);
    
    by the signature of newMyPart is newMyPart(int i, char* s).
    
    So in the above case,the parameters are passed in the wrong orde
    r for the call newMyPart() and hence give comiler errors.
    
    Workaround :
    Create an operation with same name as initRelation and give the
    correct implementation in its body.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Wrong code generated for initRelation() when having object
    multiplicty ? 1
    

Problem conclusion

  • Fixed in 7.5.3
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM05704

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-01-21

  • Closed date

    2011-01-11

  • Last modified date

    2011-01-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

    TLOGIC RHAPSODY

  • Fixed component ID

    5724V74RP

Applicable component levels

  • R751 PSN

       UP

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

Document Information

Modified date:
11 January 2011