Book a Demo

Author Topic: Deleting orphans removes all diagrams  (Read 3623 times)

Michel777

  • EA User
  • **
  • Posts: 228
  • Karma: +0/-0
    • View Profile
Deleting orphans removes all diagrams
« on: August 25, 2015, 11:05:27 pm »
Deleting all elements in the result list of searching for orphans has also deleted all diagrams.

Remark: the diagrams were not in the result list.

Bug ?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Deleting orphans removes all diagrams
« Reply #1 on: August 25, 2015, 11:22:31 pm »
Before deleting orphans (if you even want that) make sure to run Project Integrity Check and fix all errors there.
Also make sure you are on the latest version. There used to be a (12.0 beta) version where I experienced a similar problem. I think that bug was fixed in the later final versions of v 12

But, yes, no doubt a bug. Better restore that backup.

Geert

Michel777

  • EA User
  • **
  • Posts: 228
  • Karma: +0/-0
    • View Profile
Re: Deleting orphans removes all diagrams
« Reply #2 on: August 25, 2015, 11:36:42 pm »
It is a bug: EA lists in result the whole Collaboration Model itself. It is true the Collaboration Model is not be referenced in any diagram (it can not be referenced), but it has not to be considered as orphan.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Deleting orphans removes all diagrams
« Reply #3 on: August 25, 2015, 11:43:55 pm »
It's not a bug, just a different opinion on what orphans are, and what to do with them.

I would never even think about deleting "orphans" as definined by EA -> elements not referenced in a diagram.
There are tons of other ways to reference elements in a UML model.

Geert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Deleting orphans removes all diagrams
« Reply #4 on: August 26, 2015, 09:37:58 am »
Quote
It's not a bug, just a different opinion on what orphans are, and what to do with them.

I would never even think about deleting "orphans" as defined by EA -> elements not referenced in a diagram.
There are tons of other ways to reference elements in a UML model.

Geert
As usual Geert, you're spot on...

I was just about to post a query about the definition of "Orphans".  As usual, EA is self inconsistent (I believe)  The definition of Orphan in the Search and the definition in Project Integrity Check are NOT the same!

I'm having some issues with automation (under v12) where PIC picks up elements with Package ID set to 0 as Orhans.  I'm still trying to track down why they exist, but my point is that PIC does NOT regard objects not on any diagrams as "orphans".

In fact, I'll still create a post and a support request for a more formal definition.

Paolo
« Last Edit: August 26, 2015, 09:40:48 am by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!