-
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
Field category_permissions_field does not exists in mapping #2861
Comments
Hi @vetalkab I guess your website relies on the "category permission" feature of Magento ? Some categories are visible only for particular customers, something like that ? From which version did you upgrade ? Do you have a more detailed stacktrace from your log file ? I'd like to see from where this error is triggered. Regards |
Hi @romainruaud The only error we get in system.log is: GraphQL (18:13) On this project we also use smile/module-elasticsuite-cms-search and smile/module-elasticsuite-quick-order. We also managed to reproduce the issue on another test server, not on magento.cloud and there is used Elasticsearch Version 1.17 Also Magento Support provided such feedback: Cause of the issue: Smile_ElasticsuiteCore, Smile_ElasticsuiteCatalog, Smile_ElasticsuiteCatalogGraphQl 3rd party modules After disabling the modules, the issue has been resolved and I was able to get the intended output. Hope this data help in the investigation. Thank you for the quick response. Regards, |
Hello, I think you might need to add the And then clean the cache and proceed with a full reindex. |
Hi @romainruaud We also managed to replicate this issue on another project Magento 2.4.5-p1, with your module and B2B. Regards, |
Hi @romainruaud The reported error disappeared, but the product query results become empty after adding the mapping fields. I tried adding the mapping field like "category_permissions_field" && "category_permissions_value" after reindexing and cleaning the cache. the product results become empty. |
Hi @romainruaud, I can confirm that this happens on a clean Magento 2.4.6 with ElasticSuite installed as well. Even with category_permissions_value and category_permissions_field added as filterable the result is empty, because the fields corresponding to catalog permissions that are indexed on clean Magento are no longer indexed with ElasticSuite enabled. |
I am having exactly the same issue. In our case we are going the other way: We want to start leveraging category permissions and events Magento 2.4.6-p3 |
Kind of the same problem, but on Open Source, without any additional modules and not in the GraphQL, but while using a filter on the frontend.
Magento ver. 2.4.6-p3 |
Any updates here? My filter also causes issues when I set my custom attribute to non-filterable.
Magento ver. 2.4.7-p3 |
Hi,
After Magento Upgrade we found that public graphql query for products is failing
HTTP Status Code is 200 but response says "message": "Internal server error".
After digging into the logs we found such an error:
Field category_permissions_field does not exists in mapping
### Preconditions
We just deployed Magento EE Upgrade 2.4.5-p1 to production on Magento Cloud and switched from elasticsearch to Opensearch 1.2
Magento Version : 2.4.5-p1 EE
ElasticSuite Version : 2.10.13.3
Environment : Production
The text was updated successfully, but these errors were encountered: