IBM Support

PK86073: INCORRECT CODE GENERATED FOR 'SEND ACTION' STATE IN AD.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • summary:
    
    ********
    
    Incorrect code generated for 'Send Action' state in Activity
    Diagrams.
    
    Description:
    ************
    
    The code generated for a 'Send Action' state misses the 'me'
    pointer when an event is being sent to a port. The generated
    looks like 'RiCGEN_PORT(-?p1, ev());' instead of
    'RiCGEN_PORT(me-?p1, ev());'. The incorrect code generation in
    turn results in compiler/build errors. This issue is specific to
    Activity Diagrams as correct code is generated when 'Send
    Action' state is used in a state chart.
    

Local fix

  • Workaround:
    ***********
    
    We can manually modify the property
    "C_CG:Framework:EventToPortGenerationPattern" to add the 'me'
    word infornt of its current value [RiCGEN_PORT($meArrow$target,
    $event)]. So the value becomes RiCGEN_PORT(me$meArrow$target,
    $event). This manual modification of the said property, forces
    correct code generation.
    

Problem summary

  • Incorrect code generated for 'Send Action' state in Activity
    Diagrams.
    

Problem conclusion

  • Fixed in 7.5.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK86073

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    740

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-05-06

  • Closed date

    2009-12-03

  • Last modified date

    2009-12-03

  • 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

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

Document Information

Modified date:
03 December 2009