Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In BA plugin, port dequeue actions are not resolved properly #2523

Closed
Etienne13 opened this issue Nov 15, 2020 · 0 comments · Fixed by #2524
Closed

In BA plugin, port dequeue actions are not resolved properly #2523

Etienne13 opened this issue Nov 15, 2020 · 0 comments · Fixed by #2524
Assignees
Milestone

Comments

@Etienne13
Copy link
Contributor

Summary

Port dequeue actions are not resolved properly by the BA plugin, resulting in the creation of port send actions rather than port dequeue actions.

Expected and Current Behavior

After parsing a port dequeue action, the BA metamodel is actually initialized with port send action.

Steps to Reproduce

  1. parse the following example
  2. unparse the BA subclause

we notice that the port dequeue actions (noted with '?') have been replaced by port send actions (identified by '!').

package test_ba_ports_actions
public
	
	with Base_Types;

    thread t
		features
			ed_in: in event data port Base_Types::Integer;
		annex behavior_specification {**
                  variables
                    v1 : Base_Types::Integer;
                  states
                    s1 : initial complete state;
                    s2 : final state;
                  transitions
                    s1 -[on dispatch]-> s1 {
                      ed_in ? (v1);
                      ed_in ?
                    };
        **};
	end t;
		
end test_ba_port_actions;

Environment

  • OSATE Version: 2.9
  • Operating System: Linux ubuntu 18.04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant