Book a Demo

Author Topic: EA crashes on cloning of composite element  (Read 5426 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
EA crashes on cloning of composite element
« on: February 10, 2017, 09:05:11 pm »
We're starting to use the time aware modelling feature in a serious way.

We observe that if we clone the elements that have an associated Neighborhood diagram (our own specialized diagram - but to all intents and purposes a composition diagram for the element) nested under it, the cloning will crash EA.

However, if we remove the diagrams and any indications that the element is composite (prior to cloning), the cloning will proceed without crashing EA.

Anybody else able to confirm this or is able to clone composite elements without any issue?

Reported,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: EA crashes on cloning of composite element
« Reply #1 on: February 13, 2017, 10:13:19 pm »

I can confirm this issue and in fact I reported it about a week ago and have been given the reference 17015439.   I've chased for an update but only been told Sparx is still investigating.

The main content of the report which related to the use of BPMN was as follows:

- when cloning a package structure, diagrams embedded in collaboration or business process elements are not copied (this might be by design, but it seems to compromise the whole idea of the time aware model - all I got after cloning was an empty package with a new version number).
- elements on diagrams, encapsulated in a business process, e.g. BPMN activities will not clone. In some cases you are prompted for the version number in other cases nothing happens at all after choosing the option from the menu
- attempting to clone a business process element that is composite (has an embedded diagram) and encapsulates the elements defined within the process causes EA to crash to desktop "UML Development Tool has stopped working".



Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: EA crashes on cloning of composite element
« Reply #2 on: February 14, 2017, 10:41:14 am »
Thanks, Graham,

I've been asked by Sparx to provide test data, but I'm too busy at the moment.  For us it's a pain, but since the Neighborhood diagram is automatically generated, recreating them is not such a major drama.

For you, however, it's a "differnet kettle of fish".

Hopefully, they'll find the bug soon.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: EA crashes on cloning of composite element
« Reply #3 on: February 20, 2017, 08:36:29 pm »
I've had the following update from Sparx

"- when cloning a package structure, diagrams embedded in collaboration or business process elements are not copied (this might be by design, but it seems to compromise the whole idea of the time aware model - all I got after cloning was an empty package with a new version number)."

This will be considered for a future build of EA.


- elements on diagrams, encapsulated in a business process, e.g. BPMN activities will not clone. In some cases you are prompted for the version number in other cases nothing happens at all after choosing the option from the menu

Confirmed this will be fixed in a future build of EA.


- attempting to clone a business process element that is composite (has an embedded diagram) and encapsulates the elements defined within the process causes EA to crash to desktop "UML Development Tool has stopped working".

This crash was resolved in build 1309.

In terms of the last one.  We're using 1308 at the moment, so I can't confirm that the issue is fixed, however  such a fix isn't listed in the changes and fixes list for 1309.
 

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: EA crashes on cloning of composite element
« Reply #4 on: February 21, 2017, 10:37:50 am »
Thanks,  Graham,

My crash occurs under 1309.  It, too, crashes to desktop in the same way as yours.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: EA crashes on cloning of composite element
« Reply #5 on: February 22, 2017, 04:46:13 am »

Thanks Paolo,  I have asked them to re-open that item.