mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #132] [CLOSED] Fix an insertion of a collection to collectionUpdates/collectionDeletions properties #7745
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?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/132
Author: @realmfoo
Created: 9/21/2011
Status: ❌ Closed
Base:
master← Head:fix📝 Commits (1)
a369c98Fix an insertion of a collection to collectionUpdates/collectionDeletions properties📊 Changes
1 file changed (+5 additions, -4 deletions)
View changed files
📝
lib/Doctrine/ORM/UnitOfWork.php(+5 -4)📄 Description
Method computeAssociationChanges doesn't use spl_object_hash to add collection only once to array. It can lead to an exception if computeChangeSets would be called twice.
Exactly changes were already made to entityChangeSets, entityUpdates and etc.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.