JADE Environment Development Ideas

Change Schema Delete so it succeeds regardless of whether or not instances exist

When you delete a schema and there are instances of classes, the delete can fail with an exception from inverse maintenance. This is sub-optimal given the objective is to discard all the schema defined object instances as well.

Little useful information about the exception is reported at the user interface (message box, jommsg log, examples for 1310 exception are attached). So it can take a considerable amount of time to unravel the relationships and script the necessary deletes (class and property names involved when the exception is thrown would help).

But nothing would help as much as simply deleting the schema and the data.

  • Gerard O'Brien
  • Feb 3 2021
  • Needs review
  • Attach files
  • John Porter commented
    8 Feb 10:30pm

    What if the reference is to something in another schema?

  • Ty Baen-Price commented
    3 Feb 03:02am

    Sounds like a bug to me...