IBM Support

PM71957: Difference in .IDL files code generation for multiplicity of an attribute within a DDS topic structure

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Description
    -----------
    There is a difference in code generated for .IDL file with
    Rhapsody version 7.5.3.1 and version 7.6.1 and higher,
    associated to expression of multiplicity of an attribute within
    a DDS topic structure.
    This is a regression.
    
    For example - If a new topic structure (Name_List) is declared
    having a new attribute(phonenumber) of type unsigned long with
    multiplicity as 12
    The code generated with Rhapsody 7.6.1 or higher is:
    struct Name_List {
        ////    Attributes    ////
    
        sequence?unsigned long,12? phonenumber[12];  //## attribute
    phonenumber
    };
    
    Here If the multiplicity is set to 1..12 the generated idl is:
    
    struct Name_List {
        ////    Attributes    ////
    
        sequence?unsigned long,1..12? phonenumber[12];  //##
    attribute phonenumber
    };
    
    
    However, for same scenario with Rhapsody 7.5.3.1, there is a
    difference in code generation
    //## type Name_List
    struct Name_List {
        sequence?unsigned long,12? phone_Number;  //## attribute
    phone_Number
    };
    
    The code generated with Rhapsody 7.5.3.1 appears correct, at
    least when processed by the rtiddsgen tool but not the code
    generated with Rhapsody version 7.6.1 or higher.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Difference in code generated for multiplicity of an
    attribute within a DDS topic structure - code generated by
    version 7.6.1 appears to be incorrect.
    

Problem conclusion

  • Fixed in version 8.0.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM71957

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    761

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-31

  • Closed date

    2012-11-27

  • Last modified date

    2012-11-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

  • R761 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.1","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
06 January 2022