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

Actual_Connection_Binding is not overridden by contained property association #2265

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

Actual_Connection_Binding is not overridden by contained property association #2265

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

Comments

@lwrage
Copy link
Contributor

lwrage commented Mar 31, 2020

Summary

After fixing the exception from #2259 the instantiation appends local and local contained property associations.

Expected and Current Behavior

The local property association should be overridden by the local contained one.

Steps to Reproduce

  1. Instantiate top.i
  2. In the instance model the connection binding is (theBus1, theBus2) instead of (thebus2)
package Issue2265
public
	bus MyBus
	end MyBus;

	system S1
		features
			out1: out data port;
	end S1;

	system S2
		features
			in1: in data port;
	end S2;

	-- assembled system
	system top
	end top;

	system implementation top.i
		subcomponents
			sub1: system s1;
			sub2: system s2;
			theBus1: bus MyBus;
			theBus2: bus MyBus;
			a: abstract {
				Source_Language => (C);
			};
		connections
			conn1: port sub1.out1 -> sub2.in1 {
				Actual_Connection_Binding => (reference (theBus1));
			};
		properties
			Actual_Connection_Binding => (reference (theBus2)) applies to conn1;
			Source_Language => (Ada95) applies to a;
	end top.i;
end Issue2265;

Environment

  • OSATE Version: 2.7.0
  • Operating System:
@lwrage lwrage changed the title Actual_Connection_Binding is not overridden be contained property association Actual_Connection_Binding is not overridden by contained property association Mar 31, 2020
@lwrage lwrage self-assigned this Mar 31, 2020
@lwrage lwrage added this to the 2.7.1 milestone Mar 31, 2020
@lwrage lwrage added the core label Mar 31, 2020
lwrage added a commit that referenced this issue Mar 31, 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