Closed
Description
This issue is automatically created based on existing pull request: #31205: fix for ambigous column user_id in where clause
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 )
Preconditions:
Magento version: 2.4-develop
PHP version: 7.4
ElasticSearch version: 7
MySQL version: 8.0
Manual testing scenario:
- Add the code from the attached file
Code_to_reproduce_31205.zip - Run in console:
php bin/magento setup:upgrade
; - Log in to the admin panel;
- open URL /admin/column;
Actual Result: ✖️ 2 exceptions occur
Expected Result: ✔️ No exceptions
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done