IBM Support

PK96821: The code generated for exit points from sub-state charts is inco rrect

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Description
    -----------
    The code generated for exit points from sub-state charts is inco
    rrect.
    See the attached model for an example of this problem.
    
    class_0 contains a state chart with an exit point from the sub-s
    tate
    chart of state_0. The exit transition from state_0 to state_1 do
    es
    not have any trigger but does have an action - it calls the Read
    y
    method. The generated code does not have call to Ready in
    class_0.cpp.
    
    However, placing the ready method in the exit transition from st
    ate_2 to state_3 os the sub-state chart, the method gets include
    d in the generate code.
    If the control returns from the enterexit point of the sub-state
     chart to the state_1 in the model, then either the transition f
    orm state_0 to state_1 should be grayed out or
    Rhapsody should generate the correct code regardless of whether
    the Ready method is placed on the transition to the enterexit po
    int in
    the sub-state chart or the transition from the enterexit point o
    n the outer state chart.
    

Local fix

Problem summary

  • The code generated for exit points from sub-state charts is
    incorrect
    

Problem conclusion

  • Fixed in 7.5.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK96821

  • 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-09-22

  • Closed date

    2009-12-02

  • Last modified date

    2009-12-02

  • 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:
02 December 2009