Author Topic: Autodeletion should "dirty" diagram  (Read 2430 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Autodeletion should "dirty" diagram
« on: November 27, 2006, 10:37:06 pm »
We've observed that if an object is deleted from an open diagram by virtue of an external action (such as deleting a package that contains the object).  Although the diagram is changed, EA does not mark the diagram as "dirty" (placing the * to the left of the name on the tab).

We think this should be changed.  That way, if you refactor the model and have a diagram that contains stuff that should be retained after the deletion, if it is set dirty afterwards, you know the refactoring wasn't correct.

Thoughts?  Votes?
Paolo
[size=0]©2006 Paolo Cantoni, -Semantica-[/size]
« Last Edit: November 27, 2006, 10:37:39 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Autodeletion should "dirty" diagram
« Reply #1 on: November 28, 2006, 04:52:33 am »
Just a clarification query.

When you do that - and then close the 'affected' diagram  - does it ask whether to save it?  (NB this is different to marking it dirty!)

Also, is there any impact you have observed when that  diagram is reopened?

I ask because this may explain something I've been scratching my bald spot over.

bruce

20 Minute after EDIT: On second thought, no this isn't the same weirdity in behaviour or the same feature request.  But I may leave it here just to piggy back in the hope that someone has seen some inconsistency in having mutliple diagrams open and - after deleting an element from one,  it reappears as a "project browser" orphan - i.e it's not visible in any diagram, nor in the browser, but it sure as heell is there in the t_objects table???!!!///  
« Last Edit: November 28, 2006, 05:06:03 am by sargasso »
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Autodeletion should "dirty" diagram
« Reply #2 on: November 28, 2006, 05:37:38 am »
Quote
Just a clarification query.

When you do that - and then close the 'affected' diagram  - does it ask whether to save it?  (NB this is different to marking it dirty!)
NO...
Quote
Also, is there any impact you have observed when that  diagram is reopened?
NO...

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