Skip to content

Mode transition names are ignored during instantiation #2933

Description

@lwrage

Summary

When instantiating a model with mode transitions, the names for the mode transition instances are not as expected.

Expected behavior

A named mode transition should retain that name if instantiated. The instance name for an unnamed mode transition can be generated.

Actual behavior

All mode transition names in the instance model are generated; names from the node transition declaration are ignored.

Steps To Reproduce

  1. Instantiate S.i in the model below
  2. Open the instance model
  3. See that there is one mode transition named m1_p_m2
package Issue2933
public
  system S
    features
      p: in event port;
  end S;

  system implementation S.i
    modes
      m1: initial mode;
      m2: mode;
      mt1: m1 -[p]-> m2;
  end S.i;

end Issue2933;

Desktop (please complete the following information):

  • OSATE Version: 2.16
  • Operating System: all

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions