IBM Support

PM86533: Issues with code generation of stereotyped operations

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Headline:
    Issues with code generation of stereotyped operations
    
    
    
    
    Abstract:
    Attempts to generate code for Stereotyped operations results in
    wrong unexpected results.
    error_description:
    
    When generating C code out of the Rhapsody model, code is not
    correctly generated for stereotyped operations.
    
    
    
    Steps to Reproduce:
    
    Please refer the attached model:
    
    a] There are 2 stereotypes (for the AUTOSAR compiler
    abstraction).
    One for an operation and the other for an attribute.
    
    b] Some properties are overridden for the stereotypes.
    
    On Generating code, there are 2 main problems:
    
    
    1. The variable $objectName is not replaced by the tool for both
    attribute and operation.
    
    2. The stereotype for the operation is not respected by code
    generation.
    So a default operation is generated instead of an AUTOSAR
    compiler abstraction.
    Note: If the same property is used locally, then it works.
    Adding it through a stereotype yields no effect.
    
    
    
    
    Workaround:
    No Known workaround.
    
    
    
    
    Attachments:
    StereotypeCodeProblem.zip contains the sample model
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Incorrect code generated when using stereotyped operations.
    

Problem conclusion

  • Fixed in version 8.0.4
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM86533

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-04-08

  • Closed date

    2013-09-04

  • Last modified date

    2013-09-04

  • 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

  • R801 PSN

       UP



Document information

More support for: Rational Rhapsody

Software version: 8.0.1

Reference #: PM86533

Modified date: 04 September 2013