cp-api / cp-lib2

0 stars 0 forks source link

REC-elements from a Library can not be used with a fragmented Capella-Model #18

Open eclipse-kitalpha-bot opened 3 years ago

eclipse-kitalpha-bot commented 3 years ago

ReplicableElements2.png Proposed fix: patch to SWT.win32.org.eclipse.swt.widgets.Control.java

After the fragmentation of a Capella-Model it is not possible to use REC-elements from a library in the Model (no problem with unfragmented model).

After the fragmentation of the model (5 fragments: OA, SA, LA, PA, EPBS) some elements of the REC (Functions and FunctionalExchanges) become orange and there is no project explorer on the right side of the instantiation-dialog to assign the elements to a location.

Capella 1.2.0

Capella Forum: https://polarsys.org/forums/index.php/t/570/

🆔 ECLIPSE-555045 / POLARSYS-2107 👷 richard.corbie 📅 2018-06-22 🔎 1.2.0

eclipse-kitalpha-bot commented 3 years ago

richard.corbie commented on 2018-06-22

The behaviour outlined above was when the REC was created in the library.

The other way round - creating the REC in the fragmented model and try to save the REC in the library - I get an "error while saving session".

See attachment Error-Trace

richard.corbie commented on 2018-06-22

Attachment: Error-Trace-1.txt GPF in DefaultContent.getLine

jeremy.aubry commented on 2018-06-25

About the first use case: Issue reproduced in Capella 1.1 and 1.2.

About the second use case: Can you describe your "steps to reproduce" please?

richard.corbie commented on 2018-06-26

Second use-case: Generate a Capella-Model Fragment the Model Generate Library Bind the Library to the Model (Lib must be writeable!)

In the model: Build a small "part" e.g. a Component with 2 Functions and a FunctionalExchange. Select the "part" and -> "Create REC from selection" Try to save the REC in the REC-Catalog of the Library and try to save the Model & Library: => error while saving session