eclipse-capella / capella

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

Add QuickFix for EMF error concerning unresolved proxy #1471

Closed eclipse-capella-bot closed 3 years ago

eclipse-capella-bot commented 3 years ago

If a Capella element references another element in a library (class generalization for example), and you delete it in the library, and you validate your model referencing the library, an EMF error raises "The feature X contains an unresolved proxy X".

Steps to reproduce:

1) Create a library L;
2) Create a class "Class Parent" inside L;
3) Create a model M;
4) Reference the library L;
5) Create a class "Class Child" in M;
6) Insert "Class Parent" and create a generalization from "Child" to "Parent";
7) Close the model M;
8) Delete "Parent" in the library L;
9) Open the model M;
10) Validate the model M;

Actual Results:

An EMF error appears that concerns an unresolved proxy for the now missing "Parent" class and no QuickFix is available for the error.

Expected Results:

A QuickFix is available for the error and, when applied, it deletes the Generalization link that has its "super" missing.

🆔 ECLIPSE-555108 / POLARSYS-2287 👷 matei.stamate 📅 2018-11-26 🔎 1.3.0

eclipse-capella-bot commented 3 years ago

ci-bot commented on 2018-11-29

Merged to [master]. Commit: d6aa66687117926210a6f3425167d196fbc55982

ci-bot commented on 2019-01-15

Merged to [master]. Commit: 194e35f8fe1b4a56e9752847f9bdc27830f94082

ci-bot commented on 2019-01-22

Merged to [master]. Commit: ec609ee9608d4d454ae431d574fc36842b9c05c6

georgiana.ecobici commented on 2019-02-07

Done.

ci-bot commented on 2019-02-15

Merged to [master]. Commit: bfbc2441d2ee58944578fbdea7009537df135da3