Skip to content

EValidator Error #1629

Description

@RyanMcilnay

Summary

When renaming a process that has a binding in the text editor, a org.osate.aadl2.properties.PropertyDoesNotApplyToHolderException is thrown. This occurs whether you use the Rename Element option from the context menu or select the process and start typing a new name.

Steps to Reproduce

Using the text editor:

  1. Create a system and system implementation
  2. Create processor and process subcomponents
  3. Create a binding:
    Actual_Processor_Binding => (reference (<processor>)) applies to <process>;
  4. Rename the process by right clicking the process and selecting Rename Element, or select the process and begin typing
package EValidator_bug
public
	system sys
	end sys;

	system implementation sys.impl
		subcomponents
			cpu: processor;
			ac: process;
		properties
			Actual_Processor_Binding => (reference (cpu)) applies to ac;
	end sys.impl;
end EValidator_bug;

Environment

  • OSATE Version: 2.3.6
  • Operating System: Windows 10

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions