-
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
Error Elasticsearch table prefix #36741
Comments
Hi @mohammedTBB. Thank you for your report.
Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
For more details, review the Magento Contributor Assistant documentation. Add a comment to assign the issue: To learn more about issue processing workflow, refer to the Code Contributions.
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket. ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
Hi @engcom-Bravo. Thank you for working on this issue.
|
Hi @mohammedTBB, Thank you for reporting and collaboration. Verified the issue on Magento 2.4-develop instance and the issue is not reproducible. Kindly refer the screenhsots. We are able to filter the products with the price without any errors. Kindly recheck the behavior on Magento 2.4-develop instance and elaborate steps to reproduce if the issue is still reproducible. Thanks. |
Hi engcom-Bravo, The error appear in the frontend category page, by ordering the products by price. Thanks. |
@magento give me 2.4-develop instance |
Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Bravo, here is your Magento Instance: https://c3319b9ff219083da6322dd181bc99db.instances.magento-community.engineering |
Hi @mohammedTBB, Thanks for your update. Verified the issue on Magento 2.4-develop instance and the issue is not reproducible. Kindly refer the screenhsots. We are able to filter the products. Kindly recheck the issue on Magento 2.4-develop instance and check if any 3rd party extensions / modules enabled is causing this issue. Thanks. |
Hi engcom-Bravo Could you please sort by 'price' instead of by 'position'? Thanks. |
Hi @mohammedTBB, Thanks for your update. Verified the issue on Magento 2.4-develop instance and the issue is not reproducible. Kindly refer the screenhsots. We are able to sort with 'Price'. Thanks. |
This seems to be a similar problem as reported in #36518 @mohammedTBB: The code you referenced has been refactored significantly and this refactor will be included in Magento 2.4.6 and your issue should be fixed when it gets released on March 14. I've mentioned some details over here: #36478 (comment) This issue can probably be closed now. |
Hi @hostep. Thanks for your update. We are closing this issue. Thanks. |
Preconditions and environment
Steps to reproduce
1- Go to category page
2- Filter by price
Expected result
The page filter the products without any error.
Actual result
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento.store' doesn't exist
Additional information
The problem comes from the file
vendor/magento/module-elasticsearch/Model/ResourceModel/Fulltext/Collection/SearchResultApplier.php:263
Possible solution:
replace the line 260
. ' AND price_index.website_id = (Select website_id FROM store WHERE store_id = '
by:
. ' AND price_index.website_id = (Select website_id FROM '. $this->collection->getTable('store') .' WHERE store_id = '
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: