Book a Demo

Author Topic: Additional Check before Purging of highly connected Items  (Read 4847 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Additional Check before Purging of highly connected Items
« on: February 24, 2017, 10:53:22 am »
Yesterday we had an EA crash and discovered that one of our most connected objects in the enterprise-wide repository had been trashed!   The crash also took out about 20 related connector proxies (yes, , they're connector proxies - proxies for connectors - not proxy connectors - connectors for proxies) and other associated connectors, leaving the repository in a non-integral state.

Fortunately, because of our snapshot process, we have the information to recover and we're currently working on a process to automate this.  The reason?

Well, while this instance was caused by Sparx EA crashing, it could just as easily been caused by inadvertent user action!

Consequently, if a request to purge an item from the repository (such as: [Ctrl+Del]) is received by EA and the item is connected above one or more thresholds (such as # of connections, # of diagrams it appears on, etc.) there should be an additional check before EA finally purges the item.  For example, you might have to enter the name of the item into a special dialog.

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

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Additional Check before Purging of highly connected Items
« Reply #1 on: February 24, 2017, 12:58:47 pm »
What's a connector proxy and why do you seem to have embarked on Post-truth modelling?

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Additional Check before Purging of highly connected Items
« Reply #2 on: February 24, 2017, 06:01:04 pm »
What's a connector proxy and why do you seem to have embarked on Post-truth modelling?
A connector proxy is what EA places in the t_object table to correspond to the end point of a relationship to another relationship.  Try the new functionality.  You'll see EA places a (movable) vertex on the arc.  That vertex is the connector proxy vertex I mentioned.

As for post-truth, the purpose of a model is to abstract reality.  Since reality is heading post-truth (until it comes to its senses), we'd better investigate how to model it... ;)

Paolo

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

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Additional Check before Purging of highly connected Items
« Reply #3 on: February 27, 2017, 09:00:50 am »
A connector proxy is what EA places in the t_object table to correspond to the end point of a relationship to another relationship.  Try the new functionality.  You'll see EA places a (movable) vertex on the arc.  That vertex is the connector proxy vertex I mentioned.

Unfortunately stuck on 12.1.1230 as we didn't choose Sparx EX as our enterprise modelling tool and my maintenance run out.