IBM Support

PI52134: WRONG STATECHART CODE GENERATED FOR HISTORY CONNECTOR

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Using a history connector in a statechart and transition is
    going into a state with substate which has an AND line, wrong C
    code is generated because the class name is missing.
    Instead of class_0_state_20_entHist(me) and
    class_0_state_21_entHist(me) only state_20_entHist(me) and
    state_21_entHist(me) is generated which leads to compiler
    errors.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody 8.1.3                                               *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Rhapsody generated incorrect code to statechart with the     *
    * following architecture:                                      *
    * 1) deep history connector                                    *
    * 2) inner AND-state (or sub-statechart with AND state).       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed in 8.1.5
    Rhapsody generates correct code to the statechart with the
    mentioned above architecture.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI52134

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    810

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-11-09

  • Closed date

    2016-04-25

  • Last modified date

    2016-04-25

  • 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

  • R813 PSY

       UP



Document information

More support for: Rational Rhapsody

Software version: 8.1

Reference #: PI52134

Modified date: 25 April 2016