Switching vote choice and other things are broken after upgrade to Doctrine ORM 2.7.1
See https://github.com/doctrine/orm/pull/7940
The temporary workaround is downgrading to 2.7.0 and wrapping operations that call Collection::removeElement
on extra lazy collections in explicit transactions.
When the issue is solved upstream, we can upgrade Doctrine and close this issue.
Edited by Emma