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

Packages are linking to the wrong default property set resources #2537

Closed
RyanMcilnay opened this issue Dec 2, 2020 · 1 comment · Fixed by #2538
Closed

Packages are linking to the wrong default property set resources #2537

RyanMcilnay opened this issue Dec 2, 2020 · 1 comment · Fixed by #2538
Assignees
Milestone

Comments

@RyanMcilnay
Copy link
Contributor

Summary

Projects/packages that are created after an existing project exists are linking to the existing project's default property sets instead of the new project's property sets.

Expected and Current Behavior

The newly created package should be linking to the default property sets that are referenced within the owning project.

Steps to Reproduce

  1. Create a project named Test1
  2. Create another project named Test2
  3. Create a package in Test2 named test
  4. Add"with Base_Types;" in the newly created package in Test2 public section.
    The new package should look like:
package test
public
	with Base_Types;
end test;
  1. Right click Test1 and select "Close Project"

An error that states "Couldn't resolve reference to ModelUnit 'Base_Types'." occurs.

Environment

  • OSATE Version: 2.9.0
  • Operating System: Windows
@lwrage
Copy link
Contributor

lwrage commented Dec 2, 2020

This is #2195. The fix for that was inadvertently removed.

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.

2 participants