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

Connection properties are not inherited from containing component #2264

Closed
lwrage opened this issue Mar 31, 2020 · 0 comments · Fixed by #2366
Closed

Connection properties are not inherited from containing component #2264

lwrage opened this issue Mar 31, 2020 · 0 comments · Fixed by #2366
Assignees
Milestone

Comments

@lwrage
Copy link
Contributor

lwrage commented Mar 31, 2020

Summary

Connections should inherit property associations for Actual_Connection_Binding, but they do not.

Expected and Current Behavior

Other contained components and features inherit property associations, and so should connection instances.

Steps to Reproduce

  1. In the model below instantiate S.i
  2. Open the instance in a text editor
  3. Find that the connection instance has no property association, but it should
package Issue2264
public
	
	system S
	end S;
	
	system implementation S.i
		subcomponents
			a1: abstract A;
			a2: abstract A;
			b: bus;
		connections
			c: port a1.o -> a2.i;
		properties
			Actual_Connection_Binding => (reference(b));
	end S.i;
	
	abstract A
		features
			i: in event data port;
			o: out event data port;
	end A;
	
end Issue2264;

Environment

  • OSATE Version: 2.7.1
  • Operating System: Linux
@lwrage lwrage self-assigned this Apr 13, 2020
@lwrage lwrage added this to the 2.8.0 milestone Apr 13, 2020
lwrage added a commit that referenced this issue Jun 16, 2020
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