Object is already deleted
No edit summary
(Replacing message template with parser tag)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<message>Write the content here to display this box</message>
If you get the error message <code>"Object is already deleted"</code> in the client or in logs, your EAL is trying to delete an object that has already been deleted.
If you get the error message <code>"Object is already deleted"</code> in the client or in logs, your EAL is trying to delete an object that has already been deleted.


Line 7: Line 8:
See also: [[OCLOperators existing]]
See also: [[OCLOperators existing]]
[[Category:OCL]]
[[Category:OCL]]
{{Edited|July|12|2024}}

Latest revision as of 07:53, 17 June 2024

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

How can one even try to delete a 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 through an earlier obtained reference.

Do something like this to avoid such a situation:

object.existing.whenTrue(object.delete)

See also: OCLOperators existing

This page was edited 95 days ago on 06/17/2024. What links here