Skip to content

Problem serialization of event data PortSpecification instances #2300

@philip-alldredge

Description

@philip-alldredge

While adding prototype support to the graphical editor, I've come across a serialization issue.

Steps to Reproduce

  1. Programatically create a FeaturePrototypeBinding and a PortSpecification with and event data category.
  2. Serialize back to AADL.
  3. The keyword used for event data is incorrect. eventData is serialized instead of event data.
package prototype_test
public
	with interfaces;
	with Base_Types;

	system subsystem
		prototypes
			iface_pt: feature group;
	end subsystem;

	system test_system
	end test_system;

	system implementation test_system.impl
		subcomponents
			ss: system subsystem (iface_pt => feature group interfaces::subsystem_interface (
					message_cpt => data Base_Types::String, event_fpt => out eventData port Base_Types::Integer));
	end test_system.impl;
end prototype_test;

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions