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

When renaming a port references in a connection declaration are not renamed #2046

Closed
lwrage opened this issue Nov 6, 2019 · 1 comment · Fixed by #2070
Closed

When renaming a port references in a connection declaration are not renamed #2046

lwrage opened this issue Nov 6, 2019 · 1 comment · Fixed by #2070
Assignees
Milestone

Comments

@lwrage
Copy link
Contributor

lwrage commented Nov 6, 2019

Summary

When renaming a port using rename refactoring (Alt+Shift+R) references to this port in a connection declaration are not renamed. Note: The references in connection declarations are highlighted when mark occurrences in on.

Expected and Current Behavior

All occurrences of the feature name should be updated.

Environment

  • OSATE Version: 2.6.0
  • Operating System: all
@lwrage
Copy link
Contributor Author

lwrage commented Nov 17, 2019

Rename refactoring uses the scope providers to serialize cross references after renaming. The scope provider method scope_ConnectedElement_connectionEnd returns a scope that doesn't contain the renamed feature.

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

Successfully merging a pull request may close this issue.

1 participant