When an entity ent is changed in the beforeTransactionCompletion hook, but ent was not changed during the request, it won’t persist the change. Calling flush() fixes the issue.

Submitted by Elmer van Chastelet on 1 August 2016 at 14:26

Log in to post comments