Clear entityInsertions for specific entityName#5850
Closed
ricohumme wants to merge 4 commits into
Closed
Conversation
Member
|
Requires test cases |
Contributor
Author
|
Test case provided |
| } | ||
|
|
||
| foreach ($this->entityInsertions as $hash => $entity) { | ||
| if (get_class($entity) != $entityName) { |
Member
There was a problem hiding this comment.
=== or !==. Never rely on == and != unless strictly required to do so
Contributor
Author
There was a problem hiding this comment.
Fixed in latest commit
Member
There was a problem hiding this comment.
@ricohumme no need to comment on those: they disappear from the diff as soon as you push :-)
Member
Thanks! \o/ |
Member
Ocramius
added a commit
that referenced
this pull request
Jun 5, 2016
Ocramius
added a commit
that referenced
this pull request
Jun 5, 2016
… with auto-generated identities+persist
Ocramius
added a commit
that referenced
this pull request
Jun 5, 2016
…alls on all entity insertions
Ocramius
added a commit
that referenced
this pull request
Jun 5, 2016
Ocramius
added a commit
that referenced
this pull request
Jun 5, 2016
…t with auto-generated identities+persist
Contributor
Author
|
Hi, When will 2.5.5 be released? I'm waiting for this one for one of my projects, Thnx in advance |
alexgurrola
pushed a commit
to Sitetheory-Archive/doctrine2
that referenced
this pull request
Apr 13, 2017
…roduced test case
alexgurrola
pushed a commit
to Sitetheory-Archive/doctrine2
that referenced
this pull request
Apr 13, 2017
…ould not be built with auto-generated identities+persist
alexgurrola
pushed a commit
to Sitetheory-Archive/doctrine2
that referenced
this pull request
Apr 13, 2017
…ityMapForEntityName`, for clarity
alexgurrola
pushed a commit
to Sitetheory-Archive/doctrine2
that referenced
this pull request
Apr 13, 2017
…` to remove useless looping
alexgurrola
pushed a commit
to Sitetheory-Archive/doctrine2
that referenced
this pull request
Apr 13, 2017
…EntityInsertionsForEntityName`, for clarity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See #5849