mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
UnitOfWork::commit with specific entity erases scheduledForSynchronization for all other entities #5310
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 @n3b on GitHub (Nov 3, 2016).
@Ocramius commented on GitHub (Nov 3, 2016):
Do you have a failing test case for this scenario? Can't reproduce this one
locally.
On 3 Nov 2016 03:24, "Maxim Vorobey" notifications@github.com wrote:
@n3b commented on GitHub (Nov 3, 2016):
@Ocramius Sorry, I forgot to mention that we are using the Notify change tracking policy. Thus, the
UnitOfWork::scheduledForSynchronizationcontains both entities before the first flush and is empty before the second one.