Object is already deleted
No edit summary
No edit summary
Line 5: Line 5:
Do something like this to avoid this situation
Do something like this to avoid this situation
  object.existing.whenTrue(object.delete)
  object.existing.whenTrue(object.delete)
See also: [[OCLOperators existing]]

Revision as of 20:50, 28 December 2022

If you get the error message "Object is already deleted" in the client or in logs, your EAL are trying to delete an object that has already been deleted.

How can one even try to delete an deleted object? An object in an ECO-space is not removed from the ECO-space until it's saved. Until then the object is still there and can be accessed though an earlier obtained reference.

Do something like this to avoid this situation

object.existing.whenTrue(object.delete)

See also: OCLOperators existing

This page was edited 84 days ago on 02/10/2024. What links here