I received the following response from Sparx Support:
Generally speaking, the tests performed in the integrity dialog are related to ways that we know EA itself has failed in the past or anticipated likely points of failure.
Just because an Object Type value isn't known by the current version of EA doesn't mean it hasn't been added by a newer version that has also used the repository. In that case, trying to correct your issue would potentially be introducing new problems.
To which I replied...
This response was not unexpected. "Generally speaking" means some tests are more generic. If its intent is principally EA-generated errors, then DON'T call it a "Project Integrity Check"! Call it something like "Finding EA Stuff-Ups".
The question is how to solve the potential problem you mentioned?
As I understand it, we users are NOT allowed to add "unknown" object types (since EA generates the documented error). The "known object types"
should be listed in t_objecttypes. If they are not, then that is a design defect, and the table's function is spurious! I'll leave it up to Sparx to figure out which ones are missing (there are!). I would suggest that comparing the list of object_types in t_object with the list in t_objecttypes, generally speaking
, would be a good test to add - especially since Sparx have made this inconsistency!
What do users think?
Paolo