IBM Support

PM49884: Incorrect generatestatechart code - executes the transition from the junction connector with wrong action

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The statechart of class A generates wrong code.
    There is a condition connector. One transition goes to a
    junction connector and from there to state S1, the other
    transition goes to state S2 (with 'else' trigger).
    When generating code the action on the 'else' transition is
    generated for both branches.
    This is caused by a corrupted statechart.
    Workaround:
    Delete and redraw the transition from the condition connector to
    the junction connector.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    In cases where a junction connector follows a condition that
    exits a condition connector, the code that is generated for
    the else part of the condition also includes the action that
    follows the junction connector.
    

Problem conclusion

  • Fixed in version 8.0. To preserve the previous code
    generation behavior for pre-8.0 models, a property called
    CG::Statechart::UsePre80StatechartCG was added to the
    backward compatibility settings for C, C++, and Java with a
    value of True.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM49884

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    753

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-10-12

  • Closed date

    2012-09-27

  • Last modified date

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

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

Document Information

Modified date:
28 October 2021