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

Fix renaming of refined elements #2394

Closed
RyanMcilnay opened this issue Jul 20, 2020 · 0 comments · Fixed by #2399
Closed

Fix renaming of refined elements #2394

RyanMcilnay opened this issue Jul 20, 2020 · 0 comments · Fixed by #2399

Comments

@RyanMcilnay
Copy link
Contributor

RyanMcilnay commented Jul 20, 2020

Summary

While using the graphical editor, performing a rename on an element that is refined causes the refined element to be removed/unrefined and leaves an error artifact on the text editor.

Expected and Current Behavior

The expected behavior is that the refined element and the element being refined will reflect the rename action performed.

The current behavior is that the refined element being renamed is removed/unrefined and leaves an error artifact on the text editor.

Steps to Reproduce

Using the provided model:

  1. Copy the model into an AADL Package
  2. Open the sys.impl2 diagram
  3. Select the refined subcomponent "ss" in System Implementation "sys.impl2" on the diagram
  4. Perform a rename operation
package test
public

system sys
end sys;

system implementation sys.impl1
subcomponents
	ss: system;
end sys.impl1;

system implementation sys.impl2 extends sys.impl1
subcomponents
	ss: refined to system;
end sys.impl2;

end test;

Environment

  • OSATE Version: 2.8.0
  • Operating System: Windows 10
@RyanMcilnay RyanMcilnay added this to the 2.9.0 milestone Jul 20, 2020
@RyanMcilnay RyanMcilnay self-assigned this Jul 27, 2020
@philip-alldredge philip-alldredge added this to Increment 3 - 2020-11-28 in Graphical Editor Enhancements Jul 27, 2020
Graphical Editor Enhancements automation moved this from Increment 3 - 2020-11-28 to Done Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

1 participant