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:
- Create a system and system implementation
- Create processor and process subcomponents
- Create a binding:
Actual_Processor_Binding => (reference (<processor>)) applies to <process>;
- 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
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:
Actual_Processor_Binding => (reference (<processor>)) applies to <process>;
Environment