-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Execute filtering only when a collection is passed to the data source… #25383
base: 2.4-develop
Are you sure you want to change the base?
Execute filtering only when a collection is passed to the data source… #25383
Conversation
… of a UI Component form.
Hi @mgarciaavz. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
@mgarciaavz unfortunately, only members of the maintainers team are allowed to assign developers to the pull request |
This PR is a slightly different approach for this other: #13574, which didn't end up merged due to performance degradation issues (mentioned by @rogyar here: #13574 (comment)). I found no evidence of those issues here, but if any, I guess that your testing tools will end up finding them. |
Hi @mgarciaavz, thank you for your contribution! |
Hi @melnikovi @rogyar, I stepped into an error that I can't fix (or I shouldn't, at least). The phpcs is reporting this warning:
I have fixed some other issues related with the doc blocks in the file "app/code/Magento/Ui/DataProvider/AbstractDataProvider.php", but decision about @api related issues must be taken at a higher level, so by you I guess. Thank you! |
Hi @mgarciaebo. Please, check the conflicting files. Also, according to the new definition of done all changes should be covered by automated tests. I would recommend covering this case with a unit test. Thank you! |
Hello, @mgarciaebo - thank you so much for your involvement in the Magento community and for your work specifically on submitting this pull request! This request has been open for a while now, and we're coming up on 3 years of no activity after a request was made to add a unit test to cover this PR. Are you still working on the Magento platform? Are you able to spend some time to move this pull request forward? |
Hi @joshuaswarren, thanks for reaching out. Yes, I'm still working on Magento and will take a look at this asap. It would be really nice to finally make this PR moving forward :D |
… of a UI Component form.
Description
There should be some check in order to perform collection actions only if the data source of UI Componet forms contents and actual valid collection, and avoiding them if not. This keeps model-collections forms working as usual, and avoids crashes on stand-alone forms.
Fixed Issues (if relevant)
Manual testing scenarios
Contribution checklist