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

Closing a project can lead to unresolved references to predeclared properties #2195

Closed
lwrage opened this issue Feb 10, 2020 · 1 comment · Fixed by #2196
Closed

Closing a project can lead to unresolved references to predeclared properties #2195

lwrage opened this issue Feb 10, 2020 · 1 comment · Fixed by #2196
Assignees
Milestone

Comments

@lwrage
Copy link
Contributor

lwrage commented Feb 10, 2020

Summary

In a workspace with multiple unrelated projects closing one of them can result in unresolved references in the other project. A clean build fixes the issue.

Expected and Current Behavior

Closing an unrelated project should not have any influence on the remaining projects.
Currently closing a project makes all references to contributed AADL files unresolved.

Steps to Reproduce

  1. Create two projects A, and B with one AADL file each
  2. Add a property association for a predeclared property to B,aadl
  3. Close project A

Environment

  • OSATE Version: 2.7.0
  • Operating System: macOS, Linux
@lwrage lwrage added this to the 2.7.1 milestone Feb 10, 2020
@lwrage lwrage self-assigned this Feb 10, 2020
@lwrage
Copy link
Contributor Author

lwrage commented Feb 10, 2020

Closing the project removes all files in the closed project from the index, including plugin contributed AADL. It should be possible to address this in PropertiesToBeBuiltComputerContribution.removeProject().

Note: May need to take this into account in the context of #1134

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