If an already persisted entity has a one-to-many relationship defined with a cascade of either delete-orphan or all-delete-orphan, updating it throws an error.
For example, saving a loaded parent entity with a property definition such as
..results in an error:
"A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance: Parent.children".
Full stack trace:
Running the same code under Lucee 4.5 works fine.
Test case attached.