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

Copying and pasting of elements that have a source and/or destination cause exceptions #2411

RyanMcilnay opened this issue Aug 17, 2020 · 1 comment · Fixed by #2413


Copy link

RyanMcilnay commented Aug 17, 2020


Copying elements from one container component to another such as mode transitions, connections, and flow specifications cause exceptions.

Expected and Current Behavior

Elements should be pasted into the destination component, instead, an exception is being thrown.

Steps to Reproduce

While viewing the package diagram:

  1. Right click connection "c" in sys.impl
  2. Select "Copy" from the context menu
  3. Right click on sc.impl
  4. Select "Paste" from the context menu
package CPBug
	system sys
	end sys;

	system implementation sys.impl
		ss1: system sc.impl;
		ss2: system sc.impl;
		c: port ss2.o -> ss1.i;
end sys.impl;

	system sc
		i: in data port;
		o: out data port;
end sc;

	system implementation sc.impl
end sc.impl;
end CPBug;


  • OSATE Version: 2.8.0
  • Operating System: Windows 10
Copy link

philip-alldredge commented Aug 18, 2020

This is caused by the recent refactoring. During it, we tightened the rules and checks regarding relative references. This is often being caused by transient or model errors.

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

Successfully merging a pull request may close this issue.

3 participants