Skip to content

Fix an insertion of a collection to collectionUpdates/collectionDeletions properties#132

Closed
realmfoo wants to merge 1 commit intodoctrine:masterfrom
realmfoo:fix
Closed

Fix an insertion of a collection to collectionUpdates/collectionDeletions properties#132
realmfoo wants to merge 1 commit intodoctrine:masterfrom
realmfoo:fix

Conversation

@realmfoo
Copy link

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.

@beberlei
Copy link
Member

I suppose this fixes http://www.doctrine-project.org/jira/browse/DDC-1210 ?

@realmfoo
Copy link
Author

Yes

@guilhermeblanco
Copy link
Member

Patch seems ok to me. @beberlei, any final input? I'll merge if you don't mind. =)

@beberlei
Copy link
Member

Even if i closed the issue as invalid, this is still a valid refactoring.

@beberlei beberlei closed this Oct 15, 2011
@stof
Copy link
Member

stof commented Oct 15, 2011

@beberlei why closing the PR if it is valid ?

@tiois
Copy link

tiois commented Sep 14, 2012

I got the same problem. This fixes the problem. Why don't you merge it?

@hubertperron
Copy link

Same issue here, any news ?

@tiois
Copy link

tiois commented Sep 17, 2012

This bug has been fixed with the last commit in branch 2.1.x : 1c0f88f

Maybe a 2.1.8 tag should be created ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants