eclipse-capella / capella

Open Source Solution for Model-Based Systems Engineering
https://mbse-capella.org
Eclipse Public License 2.0
222 stars 91 forks source link

If a REC in a Library is ill-structured, the RPL creation in a Project fails silently #2883

Open flatombe opened 3 weeks ago

flatombe commented 3 weeks ago

Due to manual user operation, or in case of bugs like issue #2882, users can sometimes end up with ill-structured RECs in a Capella Library. There is no validation to report about issues in the REC. Then when trying to instantiate a corresponding RPL in a Capella Project, the UI makes it seem that everything worked as expected, but in reality a RollbackException got thrown.

Reproduction:

Fix:

(Capella 6.1.0 / Windows 11)