1
0
mirror of synced 2025-02-06 23:39:25 +03:00
nclavaud b492d61398 Update identityMap when entity gets managed again
http://www.doctrine-project.org/jira/browse/DDC-3619

When using SoftDeleteable doctrine extension, an entity can be scheduled
for deletion, then persisted before flushing. In such a case, the entity
was removed from the unit of work identity map and no reference was
hold. This could lead to spl_object_hash collisions, and prevent
another, new entity to be persisted later.

This fix makes sure the unit of work identity map holds a reference to
the entity after it has been soft-deleted.
2015-03-17 22:19:10 +00:00
..
2013-12-16 11:05:05 -05:00
2015-03-17 21:08:07 +00:00
2013-12-16 11:05:04 -05:00