Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DDC-3619] Update identityMap when entity gets managed again #1338

Closed
wants to merge 1 commit into from

Commits on Mar 17, 2015

  1. 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.
    nclavaud committed Mar 17, 2015
    Configuration menu
    Copy the full SHA
    4b2079e View commit details
    Browse the repository at this point in the history