-
Notifications
You must be signed in to change notification settings - Fork 9.4k
fix for ambigous column user_id in where clause #31205
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 for ambigous column user_id in where clause #31205
Conversation
…\User\Collection addFilterToMap for user_id )
Hi @dorupetruc. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
@magento create issue |
@magento give me 2.4-develop instance |
Hi @danielrussob. Thank you for your request. I'm working on Magento instance for you. |
@magento give me test instance |
Hi @danielrussob. Thank you for your request. I'm working on Magento instance for you. |
@magento run all tests |
Hello, @dorupetruc As: https://github.com/magento/magento2/pull/31205/checks?check_run_id=1517247098 Tell me if you have some problems 👍 |
Hi @danielrussob, here is your Magento Instance: https://41dfc9147a8cb9b305d1261c0f2eaf61.instances.magento-community.engineering |
Hi @danielrussob, here is your Magento Instance: https://41dfc9147a8cb9b305d1261c0f2eaf61-2-4-develop.instances.magento-community.engineering |
@magento give me 2.4-develop instance |
Hi @danielrussob. Thank you for your request. I'm working on Magento instance for you. |
Hello @dorupetruc, Can you confirm that the only steps to reproduce the issue are the following: go to Backend > System > Permissions > All users grid Can you try with: @magento give me 2.4-develop instance |
Hi @danielrussob. Thank you for your request. I'm working on Magento instance for you. |
Hi @danielrussob, here is your Magento Instance: https://41dfc9147a8cb9b305d1261c0f2eaf61-2-4-develop.instances.magento-community.engineering |
Hi @danielrussob, here is your Magento Instance: https://41dfc9147a8cb9b305d1261c0f2eaf61-2-4-develop.instances.magento-community.engineering |
✔️ QA Passed Case 1.Manual testing scenario:
Before: ✖️ 2 exceptions occur After: ✔️ No exceptions Case 2.Manual testing scenario:
|
@dorupetruc thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository. |
Hi @dorupetruc, thank you for your contribution! |
Magento\Users\Model\ResourceModel\User\Collection addFilterToMap for user_id
Description (*)
When filtering Magento\Users\Model\ResourceModel\Users\Collection by user_id , it throws an SQL exception ( ambigous user_id in where condition )
Manual testing scenarios (*)
actual result: first time it redirects to dashboard & subsequent access of All Users grid throws the aabove exception.
Resolved issues: