-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix PersistentCollection::get() returning entity not in the collection #9035
Conversation
]); | ||
} catch (Exception $e) { | ||
// skip errors | ||
} |
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.
Please apply a change similar to what I did in #8962 🙏
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.
done
Does this really require a new testcase with new entities? There is already a bunch of tests related to persistent collections and indexBy feature in general, from my pov it would make sense to just put it there. |
Can you please rebase your PR onto 2.10.x? The 2.9.x branch has been closed for bugfixes. |
@greg0ire would it be possible to merge this bugfix? It would be really helpful. I spent some time with debbuging because of this and fix seems easy. |
@Spilky it targets 2.10.x, which is not maintained, so no. Feel free to open a new PR based on it though. If you do, target 2.14.x |
Closing in favor of #10439. |
Fixes #8607