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

org.polarsys.capella.core.re.project.ReProjectScope ignores elements with a set ProgressStatus #2882

Open
flatombe opened this issue Jul 1, 2024 · 0 comments

Comments

@flatombe
Copy link
Contributor

flatombe commented Jul 1, 2024

org.polarsys.capella.core.re.project.ReProjectScope is invoked when we have a Capella Library and we use the contextual menu action "REC / RPL > Create REC > With whole library content..."
When a library element has a Progress Status that is set, then this element (and its heirs) gets pruned from the scope.
This can result in either an incomplete REC (that can cause issues later when trying to instantiate a corresponding RPL, see issue #2883), or with the dialog telling us the library is empty (when it is not).

Reproduction:

Suggested fix:
When creating the REC from selecting the Logical Function, upon creation of the corresponding RPL, the Progress Status from the library is referenced by the RPL element. This sounds OK to me. I think RECs from whole libraries should behave similarly.
org.polarsys.capella.core.re.project.ReProjectScope should not consider an EReference to a Progress Status contained by the library to be an "external reference".

(Capella 6.1.0 / Windows 11)

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

No branches or pull requests

1 participant