Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[DoctrineBridge] Don't use object IDs in DoctrineChoiceLoader when passing a value closure#18924
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
javiereguiluz commentedMay 31, 2016 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
We recently introduced aMaintenance guide for contributions. It's so new that we're still adapting to it, so I'd like to ask something:
To me in this case it would be overkill ... but then perhaps we need to tweak the Maintenance guide. |
edddb1e to6c9dcc0Comparewebmozart commentedJun 1, 2016
@javiereguiluz This fix is not a performance improvement, but a bug fix where the performance improvement was applied where it shouldn't be (i.e. when |
6c9dcc0 toeefafc5Comparejaviereguiluz commentedJun 1, 2016 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@webmozart thanks for the info. Everything is fine then! |
xabbuh commentedJun 5, 2016
Looks like not all tests pass with this change. Status: Needs work |
eefafc5 toe5ed2b0Compare| $this->idReader | ||
| ); | ||
| $value = [$this->idReader, 'getIdValue']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
should bearray(...) for PHP 5.3 compat.
fabpot commentedJun 22, 2016
@webmozart Can you have a look at the failing tests? |
…ssing a value closure
e5ed2b0 tof6e5298Comparewebmozart commentedJun 22, 2016
Fixed |
fabpot commentedJun 22, 2016
Thank you@webmozart. |
…der when passing a value closure (webmozart)This PR was merged into the 2.7 branch.Discussion----------[DoctrineBridge] Don't use object IDs in DoctrineChoiceLoader when passing a value closure| Q | A| ------------- | ---| Branch? | 2.7| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | -| License | MIT| Doc PR | -This PR is porting an optimization done for `loadChoicesForValues()` in64c80a6 to `loadValuesForChoices()`.Commits-------f6e5298 [DoctrineBridge] Don't use object IDs in DoctrineChoiceLoader when passing a value closure
This PR is porting an optimization done for
loadChoicesForValues()in64c80a6 toloadValuesForChoices().