-
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
Bug on category count (performance issue) #34109
Comments
Hi @Nuranto. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. Please, add a comment to assign the issue:
🕙 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, 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 |
Hi @Nuranto, |
There is nothing to reproduce since it is just a performance issue. Actually, I did more tests and it seems the table |
Hi @engcom-Hotel. Thank you for working on this issue.
|
Hello @Nuranto, Thanks for the report and collaboration! We have verified the issue by looking into the codebase and we have found that the variable with the name The correct variable name should be Thanks |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-6568 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Hotel. Thank you for verifying the issue. |
Hi, internal team started working on this issue. Thanks. |
@engcom-Bravo, would be great if they will just port mage-os/mageos-magento2#25 + mage-os/mageos-magento2#47, so it won't have 2 different implementation between the 2 forks |
Hi @Nuranto, We have checked this issue on magento 2.4-develop and As per the latest codebase and we have found that the variable $categoriesProductsCount name has been changed and the issue no longer reproducible. Hence we are closing this issue.Please find the attached screenshot for your references. Thanks. |
Hi @engcom-Bravo, So the correct fix should be porting changes from mage-os/mageos-magento2#25 + mage-os/mageos-magento2#47. I think we should re-open this issue |
Hi @engcom-Bravo, I agree with @ihor-sviziev's answer. The typo is fixed, but does not fix the real issue. |
@ihor-sviziev Thanks for reopening the issue. Hi @Nuranto, Could you please update the description with the steps to reproduce and also Expected result and Actual result it will help us to proceed further. Thanks. |
Hi @Nuranto, This issue is being closed since it has not been updated in a long time.Please feel free to reopen or raise a new ticket if the issue still exists. Thanks. |
In src/vendor/magento/module-catalog/Model/ResourceModel/Category/Collection.php
Line 330-333 :
should be
( categoriesProductsCount instead of categoryProductsCount )
This is causing performance issue on backend category page especially when having a big amount of categories/products.
The text was updated successfully, but these errors were encountered: