mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Flushing one entity flushes also changes done in not related PersistentCollection #5786
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @simara-svatopluk on GitHub (Nov 29, 2017).
Originally assigned to: @Ocramius on GitHub.
Scenario:
The problem is that PersistentCollection manipulate directly UnitOfWork and changes are flushed even if some another entity is flushed.
Test:
200f659d68Important is line 40; fails on 49