Skip to content

Connection properties are not inherited from containing component #2264

@lwrage

Description

@lwrage

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions