Skip to content

Ddc 875#26

Closed
ccapndave wants to merge 1 commit intodoctrine:masterfrom
ccapndave:DDC-875
Closed

Ddc 875#26
ccapndave wants to merge 1 commit intodoctrine:masterfrom
ccapndave:DDC-875

Conversation

@ccapndave
Copy link

Merge can sometimes add the same entity twice into a collection.

As far as I can tell I am using unwrap() in order to check whether the element already exists in the array, but then calling >add() directly on the PersistentCollection rather than the ArrayCollection, triggering $this>changed().

@beberlei
Copy link
Member

beberlei commented Jan 6, 2011

ok let me verify this one :-)

@asm89
Copy link
Member

asm89 commented Mar 11, 2012

Closing this PR for reasons mentioned here: http://www.doctrine-project.org/jira/browse/DDC-875.

@asm89 asm89 closed this Mar 11, 2012
guilhermeblanco added a commit that referenced this pull request Jan 23, 2013
Getting Started tutorial corrections
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.

3 participants