-
Notifications
You must be signed in to change notification settings - Fork 340
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
VirtualCategory with no rules doesn't load in backend (HTTP 500) w/ Medium size catalog #1581
Comments
Hello @denis-zyk, I can somehow reproduce this issue on a CE 2.3.2 + Elasticsuite 2.8.1 with Luma + the medium performance toolkit profile (44k products in the catalog). What is strange is that :
But indeed, if changing back to the root category and coming back to the category, the error occurs. But I've managed to display again such a category on and off. Regards, Edit: I have the impression that it is something impacted by the cache. |
Any updates on this one, @rbayet? How can we fix it, or possibly workaround with the current virtual categories which couldn't be opened in the admin backend anymore? |
Hello @denis-zyk, This issue has been a bit de-prioritized since we cannot systematically reproduce it. As a workaround for your categories which are locked, I would advise switching the First identify the attribute id :
Then delete or change the value for that attribute for any problematic category :
or
Regards, |
Hi @denis-zyk, Are you definitely positive that you also face the issue in production mode ? Regards, |
Caused by aggs. resolving refactoring and #1458 which re-introduced the legacy behavior of the pageSize handling in the collection : |
Looking back on it, it's probably the overhead of the developer mode that makes it "faster" to occur with regards to the catalog size. Regards, |
…terable_attr_list Fixes #1581 Explicit fulltext collection page size
to avoid a pageSize of getSize() set in the collection ie all matching products. Same issue as Smile-SA#1581 and same ugly fix for the time being.
when only fetching aggregations. Keeps the "Show all" working by distinguishing between NO page size set ("Show all") and a page size of 0. Does not cover someone setting a page size of null for the fun, though.
when only fetching aggregations. Keeps the "Show all" working by distinguishing between NO page size set ("Show all") and a page size of 0. Also covers someone setting a page size of null for the fun.
when only fetching aggregations. Keeps the "Show all" working by distinguishing between NO page size set ("Show all") and a page size of 0. Also covers someone setting a page size of null for the fun.
VirtualCategory with no specific rules (i.e. rule value serialised in DB table
catalog_category_entity_text
looks like{"type":"Smile\\ElasticsuiteVirtualCategory\\Model\\Rule\\Condition\\Combine","attribute":null,"operator":null,"value":"1","is_value_processed":null,"aggregator":"all"}
) cannot be loaded in Catalog -> Categories admin backend causing HTTP 500 error.Preconditions
Magento 2.3.2 CE
ElasticSuite 2.8.1
70k+ products (~74k in our case)
PHP 7.1.32
Redis
MariaDB 10.1.37
Magento Version : 2.3.2 CE
ElasticSuite Version : 2.8.1
Environment : checked in both modes: Developer and Production
Third party modules :
Amasty_BannersLite
Amasty_Base
Amasty_Conditions
Amasty_CommonRules
Amasty_Preorder
Amasty_Rgrid
Amasty_Rules
Amasty_RulesPro
Amasty_ShippingArea
Amasty_Shiprules
Amazon_Core
Amazon_Login
Amazon_Payment
Anowave_Package
Anowave_Ec
Steps to reproduce
Expected result
Actual result
After trying the same steps as above with smaller number of products (e.g. 500), everything loads with no issues.
Also, when creating VirtualCategory AND setting some category rules at the creation time yields no issues with loading such category afterwards.
The text was updated successfully, but these errors were encountered: