Author Topic: v16β – Purge of Element doesn’t “clean-up” after itself  (Read 16369 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
v16β – Purge of Element doesn’t “clean-up” after itself
« on: November 26, 2021, 04:13:25 pm »
It seems as though when we Purge items from the repository under v16β, the Integrity Checker is broken (since it returns immediately), but more importantly, it seems as though the Purging process doesn't clean up after itself (purging related rows from the various tables).  If we run the v15.2 on the same repository after we have purged the item, it finds a pile of errors - apparently related to the item (since in a massive UI fail, the IC doesn't tell you the affected items).


This is MOST concerning!  Anyone else seeing this?  If true, needs fixing NOW!


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

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8083
  • Karma: +118/-20
    • View Profile
Re: v16β – Purge of Element doesn’t “clean-up” after itself
« Reply #1 on: December 02, 2021, 12:38:32 pm »
the Integrity Checker is broken (since it returns immediately)
Was there a separate post about this that I'm missing?

Turns out the answer is very simple. By default all of the categories are turned off in 16. So it's running zero checks.

it seems as though the Purging process doesn't clean up after itself (purging related rows from the various tables).
Does this happen when running on the original schema? Stereotypes, tags, relationships were all cleaned up correctly in my tests.
« Last Edit: December 02, 2021, 12:45:01 pm by Eve »

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: v16β – Purge of Element doesn’t “clean-up” after itself
« Reply #2 on: December 02, 2021, 05:38:14 pm »
the Integrity Checker is broken (since it returns immediately)
Was there a separate post about this that I'm missing?

Turns out the answer is very simple. By default, all of the categories are turned off in 16. So it's running zero checks.
Yes, 15 years of "muscle memory" made me ignore they were off.  I've now turned them on and will monitor what v16β says versus v15.
Quote
it seems as though the Purging process doesn't clean up after itself (purging related rows from the various tables).
Does this happen when running on the original schema? Stereotypes, tags, relationships were all cleaned up correctly in my tests.
AFAIK, the schemas were up-to-date.


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

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: v16β – Purge of Element doesn’t “clean-up” after itself
« Reply #3 on: December 02, 2021, 06:14:18 pm »
the Integrity Checker is broken (since it returns immediately)
Was there a separate post about this that I'm missing?

Turns out the answer is very simple. By default all of the categories are turned off in 16. So it's running zero checks.

Are you now saying that someone decided that the default choice for this dialog should be changed from "all checks selected" to "no checks selected"?

IMO a default selection should reflect the most used/useful option, and I'm pretty sure "no checks selected" is the only option that is not useful in any scenario.

Geert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: v16β – Purge of Element doesn’t “clean-up” after itself
« Reply #4 on: December 02, 2021, 07:50:24 pm »
the Integrity Checker is broken (since it returns immediately)
Was there a separate post about this that I'm missing?

Turns out the answer is very simple. By default, all of the categories are turned off in 16. So it's running zero checks.

Are you now saying that someone decided that the default choice for this dialog should be changed from "all checks selected" to "no checks selected"?

IMO a default selection should reflect the most used/useful option, and I'm pretty sure "no checks selected" is the only option that is not useful in any scenario.

Geert
"You might very well think that; I couldn't possibly comment..." (with apologies to Francis Urquhart)


Paolo


[Edit: (my emphasis) They don't default to "no checks selected" they ENFORCE "no checks selected" :o   - every time you start up the integrity checker you need to set ALL the checks you want (assuming it's not a vendetta against me).  Whose bright idea was that implementation? >:( ]
« Last Edit: December 03, 2021, 12:56:43 pm by Paolo F Cantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!