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

Newly created instance model references elements in other resource set(s) #2241

Closed
lwrage opened this issue Mar 16, 2020 · 1 comment · Fixed by #2260
Closed

Newly created instance model references elements in other resource set(s) #2241

lwrage opened this issue Mar 16, 2020 · 1 comment · Fixed by #2260

Comments

@lwrage
Copy link
Contributor

lwrage commented Mar 16, 2020

Summary

A new instance model is created in its own resource set based on declarative models in a different resource set. This can lead to problems.

Expected and Current Behavior

The new instance model and all referenced declarative models should be contained in the same resource set.

Environment

  • OSATE Version: 2.7.0
  • Operating System: all
@lwrage lwrage changed the title Fresh instance model references elements in other resource set(s) Newly created instance model references elements in other resource set(s) Mar 17, 2020
@lwrage
Copy link
Contributor Author

lwrage commented Mar 17, 2020

It should be sufficient to load the resource containing the root component into the resource set and proceed from that copy. Then all declarative models accessed during instantiation should be loaded into this resource set automatically when a reference is resolved.

@lwrage lwrage added this to the 2.8.0 milestone Mar 17, 2020
@lwrage lwrage modified the milestones: 2.8.0, 2.7.1 Apr 2, 2020
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