APAR status
Closed as Permanent restriction.
Error description
Currently, the entries in the 'Action on entry' and 'Action on e xit' for a substate doesn't actually impact the code generation. This may be the designed behaviour because the substate on a to p level really corresponds to the state itself. If this is the scenario then this field should be non-editable. Moreover, there are no warnings generated to say the least or no t really documented anywhere on this behaviour.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** For the "Action on entry" and "Action on exit" fields for a substate, no code is generated.
Problem conclusion
This is the expected behavior. As of version 7.5.3, these fields are disabled. This change was described in the migration guide for 7.5.3: Features window for top-level state in sub-statechart In version 7.5.2 of Rational Rhapsody, the user interface allowed you to define entry and exit actions in the features window for the top-level state in a sub-statechart. This behavior has been changed in version 7.5.3. Now, these fields are disabled in the features window for the top-level state in a sub-statechart. In version 7.5.3, if you generate code for an existing model where entry or exit actions have been defined for the top-level state in a sub-statechart, these actions are not reflected in the generated code. However, they will still be displayed in the relevant fields in the features window. If you want to remove these actions, open the model in version 7.5.2 and manually remove the defined actions, and then reopen the model in 7.5.3.
Temporary fix
Comments
APAR Information
APAR number
PM15544
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
740
Status
CLOSED PRS
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-05-28
Closed date
2011-06-23
Last modified date
2011-06-23
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
[{"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:
23 June 2011