{"action":"opened","issue":{"url":"https://api.github.com/repos/Smile-SA/elasticsuite/issues/1468","repository_url":"https://api.github.com/repos/Smile-SA/elasticsuite","labels_url":"https://api.github.com/repos/Smile-SA/elasticsuite/issues/1468/labels{/name}","comments_url":"https://api.github.com/repos/Smile-SA/elasticsuite/issues/1468/comments","events_url":"https://api.github.com/repos/Smile-SA/elasticsuite/issues/1468/events","html_url":"https://github.com/Smile-SA/elasticsuite/issues/1468","id":466861193,"node_id":"MDU6SXNzdWU0NjY4NjExOTM=","number":1468,"title":"is_virtual_category attribute name is invalid","user":{"login":"skazhikadyadya","id":4973277,"node_id":"MDQ6VXNlcjQ5NzMyNzc=","avatar_url":"https://avatars0.githubusercontent.com/u/4973277?v=4","gravatar_id":"","url":"https://api.github.com/users/skazhikadyadya","html_url":"https://github.com/skazhikadyadya","followers_url":"https://api.github.com/users/skazhikadyadya/followers","following_url":"https://api.github.com/users/skazhikadyadya/following{/other_user}","gists_url":"https://api.github.com/users/skazhikadyadya/gists{/gist_id}","starred_url":"https://api.github.com/users/skazhikadyadya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skazhikadyadya/subscriptions","organizations_url":"https://api.github.com/users/skazhikadyadya/orgs","repos_url":"https://api.github.com/users/skazhikadyadya/repos","events_url":"https://api.github.com/users/skazhikadyadya/events{/privacy}","received_events_url":"https://api.github.com/users/skazhikadyadya/received_events","type":"User","site_admin":false},"labels":[{"id":345730085,"node_id":"MDU6TGFiZWwzNDU3MzAwODU=","url":"https://api.github.com/repos/Smile-SA/elasticsuite/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-07-11T12:26:10Z","updated_at":"2019-07-11T12:26:10Z","closed_at":null,"author_association":"NONE","body":"Hi. After install ES on my latest M2 I see that on search results:\r\n\r\n```\r\n1 exception(s):\r\nException #0 (Magento\\Framework\\Exception\\LocalizedException): The \"is_virtual_category\" attribute name is invalid. Reset the name and try again.\r\n\r\nException #0 (Magento\\Framework\\Exception\\LocalizedException): The \"is_virtual_category\" attribute name is invalid. Reset the name and try again.\r\n<pre>#1 Magento\\Eav\\Model\\Entity\\Collection\\AbstractCollection->_getAttributeConditionSql('is_virtual_categ...', 1, 'left') called at [vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php:380]\r\n#2 Magento\\Eav\\Model\\Entity\\Collection\\AbstractCollection->addAttributeToFilter('is_virtual_categ...', 1, 'left') called at [vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php:405]\r\n#3 Magento\\Eav\\Model\\Entity\\Collection\\AbstractCollection->addFieldToFilter('is_virtual_categ...', 1) called at [vendor/smile/elasticsuite/src/module-elasticsuite-virtual-category/Model/Rule.php:359]\r\n#4 Smile\\ElasticsuiteVirtualCategory\\Model\\Rule->getChildrenCategories(&MGS\\Mpanel\\Model\\Category\\Interceptor#000000005baf42c500000000299731bd#, array(3)) called at [vendor/smile/elasticsuite/src/module-elasticsuite-virtual-category/Model/Rule.php:314]\r\n#5 Smile\\ElasticsuiteVirtualCategory\\Model\\Rule->addChildrenQueries(&Smile\\ElasticsuiteCore\\Search\\Request\\Query\\Nested#000000005baf43a400000000299731bd#, &MGS\\Mpanel\\Model\\Category\\Interceptor#000000005baf42c500000000299731bd#, array(3)) called at [vendor/smile/elasticsuite/src/module-elasticsuite-virtual-category/Model/Rule.php:156]\r\n#6 Smile\\ElasticsuiteVirtualCategory\\Model\\Rule->getCategorySearchQuery(&MGS\\Mpanel\\Model\\Category\\Interceptor#000000005baf42c500000000299731bd#) called at [vendor/smile/elasticsuite/src/module-elasticsuite-virtual-category/Model/Rule.php:186]\r\n#7 Smile\\ElasticsuiteVirtualCategory\\Model\\Rule->getSearchQueriesByChildren(&MGS\\Mpanel\\Model\\Category\\Interceptor#000000005baf42fb00000000299731bd#)\r\n#8 call_user_func_array(array(&Smile\\ElasticsuiteVirtualCategory\\Model\\Rule#000000005baf422700000000299731bd#, 'getSearchQueries...'), array(&MGS\\Mpanel\\Model\\Category\\Interceptor#000000005baf42fb00000000299731bd#)) called at [vendor/smile/elasticsuite/src/module-elasticsuite-virtual-category/Helper/Rule.php:67]\r\n#9 Smile\\ElasticsuiteVirtualCategory\\Helper\\Rule->loadUsingCache(&MGS\\Mpanel\\Model\\Category\\Interceptor#000000005baf42fb00000000299731bd#, 'getSearchQueries...') called at [vendor/smile/elasticsuite/src/module-elasticsuite-virtual-category/Search/Request/Product/Attribute/Aggregation/Category.php:86]\r\n#10 Smile\\ElasticsuiteVirtualCategory\\Search\\Request\\Product\\Attribute\\Aggregation\\Category->getFacetQueries() called at [vendor/smile/elasticsuite/src/module-elasticsuite-virtual-category/Search/Request/Product/Attribute/Aggregation/Category.php:73]\r\n#11 Smile\\ElasticsuiteVirtualCategory\\Search\\Request\\Product\\Attribute\\Aggregation\\Category->getAggregationData(&Magento\\Catalog\\Model\\ResourceModel\\Eav\\Attribute\\Interceptor#000000005baf42c000000000299731bd#) called at [vendor/smile/elasticsuite/src/module-elasticsuite-catalog/Search/Request/Product/Attribute/AggregationResolver.php:75]\r\n#12 Smile\\ElasticsuiteCatalog\\Search\\Request\\Product\\Attribute\\AggregationResolver->getAggregationData(&Magento\\Catalog\\Model\\ResourceModel\\Eav\\Attribute\\Interceptor#000000005baf42c000000000299731bd#) called at [vendor/magento/framework/Interception/Interceptor.php:58]\r\n#13 Smile\\ElasticsuiteCatalog\\Search\\Request\\Product\\Attribute\\AggregationResolver\\Interceptor->___callParent('getAggregationDa...', array(&Magento\\Catalog\\Model\\ResourceModel\\Eav\\Attribute\\Interceptor#000000005baf42c000000000299731bd#)) called at [vendor/magento/framework/Interception/Interceptor.php:138]\r\n#14 Smile\\ElasticsuiteCatalog\\Search\\Request\\Product\\Attribute\\AggregationResolver\\Interceptor->Magento\\Framework\\Interception\\{closure}(&Magento\\Catalog\\Model\\ResourceModel\\Eav\\Attribute\\Interceptor#000000005baf42c000000000299731bd#) called at [vendor/magento/framework/Interception/Interceptor.php:153]\r\n#15 Smile\\ElasticsuiteCatalog\\Search\\Request\\Product\\Attribute\\AggregationResolver\\Interceptor->___callPlugins('getAggregationDa...', array(&Magento\\Catalog\\Model\\ResourceModel\\Eav\\Attribute\\Interceptor#000000005baf42c000000000299731bd#), array(array('swatches_facet_m...'))) called at [generated/code/Smile/ElasticsuiteCatalog/Search/Request/Product/Attribute/AggregationResolver/Interceptor.php:26]\r\n#16 Smile\\ElasticsuiteCatalog\\Search\\Request\\Product\\Attribute\\AggregationResolver\\Interceptor->getAggregationData(&Magento\\Catalog\\Model\\ResourceModel\\Eav\\Attribute\\Interceptor#000000005baf42c000000000299731bd#) called at [vendor/smile/elasticsuite/src/module-elasticsuite-catalog/Search/Request/Product/Aggregation/Provider/FilterableAttributes.php:120]\r\n#17 Smile\\ElasticsuiteCatalog\\Search\\Request\\Product\\Aggregation\\Provider\\FilterableAttributes->getBucketConfig(&Magento\\Catalog\\Model\\ResourceModel\\Eav\\Attribute\\Interceptor#000000005baf42c000000000299731bd#) called at [vendor/smile/elasticsuite/src/module-elasticsuite-catalog/Search/Request/Product/Aggregation/Provider/FilterableAttributes.php:104]\r\n#18 Smile\\ElasticsuiteCatalog\\Search\\Request\\Product\\Aggregation\\Provider\\FilterableAttributes->getAggregationsConfig(array(&Magento\\Catalog\\Model\\ResourceModel\\Eav\\Attribute\\Interceptor#000000005baf42c000000000299731bd#, &Magento\\Catalog\\Model\\ResourceModel\\Eav\\Attribute\\Interceptor#000000005baf42c100000000299731bd#, &Magento\\Catalog\\Model\\ResourceModel\\Eav\\Attribute\\Interceptor#000000005baf42c200000000299731bd#, &Magento\\Catalog\\Model\\ResourceModel\\Eav\\Attribute\\Interceptor#000000005baf42c300000000299731bd#)) called at [vendor/smile/elasticsuite/src/module-elasticsuite-catalog/Search/Request/Product/Aggregation/Provider/FilterableAttributes.php:84]\r\n#19 Smile\\ElasticsuiteCatalog\\Search\\Request\\Product\\Aggregation\\Provider\\FilterableAttributes->getAggregations(2, 'Brown Sneaker Sh...', array('visibility' => array(3, 4)), array()) called at [vendor/smile/elasticsuite/src/module-elasticsuite-core/Search/Request/ContainerConfiguration.php:164]\r\n#20 Smile\\ElasticsuiteCore\\Search\\Request\\ContainerConfiguration->getAggregations('Brown Sneaker Sh...', array('visibility' => array(3, 4)), array()) called at [vendor/smile/elasticsuite/src/module-elasticsuite-core/Search/Request/ContainerConfiguration/Aggregation/Resolver.php:37]\r\n#21 Smile\\ElasticsuiteCore\\Search\\Request\\ContainerConfiguration\\Aggregation\\Resolver->getContainerAggregations(&Smile\\ElasticsuiteCore\\Search\\Request\\ContainerConfiguration#000000005baf42eb00000000299731bd#, 'Brown Sneaker Sh...', array('visibility' => array(3, 4)), array()) called at [vendor/smile/elasticsuite/src/module-elasticsuite-core/Search/Request/Builder.php:205]\r\n#22 Smile\\ElasticsuiteCore\\Search\\Request\\Builder->getContainerAggregations(&Smile\\ElasticsuiteCore\\Search\\Request\\ContainerConfiguration#000000005baf42eb00000000299731bd#, 'Brown Sneaker Sh...', array('visibility' => array(3, 4)), array()) called at [vendor/smile/elasticsuite/src/module-elasticsuite-core/Search/Request/Builder.php:147]\r\n#23 Smile\\ElasticsuiteCore\\Search\\Request\\Builder->create(2, 'quick_search_con...', 0, 0, 'Brown Sneaker Sh...', array(), array('visibility' => array(3, 4)), array(), array(array('name' => 'attribute_set_id', 'type' => 'termBucket', 'size' => 0), array('name' => 'indexed_attribut...', 'type' => 'termBucket', 'size' => 0))) called at [vendor/smile/elasticsuite/src/module-elasticsuite-catalog/Model/ResourceModel/Product/Fulltext/Collection.php:500]\r\n#24 Smile\\ElasticsuiteCatalog\\Model\\ResourceModel\\Product\\Fulltext\\Collection->loadProductCounts() called at [vendor/smile/elasticsuite/src/module-elasticsuite-catalog/Model/ResourceModel/Product/Fulltext/Collection.php:194]\r\n#25 Smile\\ElasticsuiteCatalog\\Model\\ResourceModel\\Product\\Fulltext\\Collection->getSize() called at [vendor/magento/framework/Data/Collection.php:259]\r\n#26 Magento\\Framework\\Data\\Collection->getLastPageNumber() called at [vendor/magento/framework/Data/Collection.php:245]\r\n#27 Magento\\Framework\\Data\\Collection->getCurPage() called at [vendor/smile/elasticsuite/src/module-elasticsuite-catalog/Plugin/CatalogSearch/ResultPlugin.php:116]\r\n#28 Smile\\ElasticsuiteCatalog\\Plugin\\CatalogSearch\\ResultPlugin->aroundExecute(&MGS\\Mpanel\\Controller\\CatalogSearch\\Result\\Index\\Interceptor#000000005baf6bde00000000299731bd#, &Closure#000000005baf403700000000299731bd#) called at [vendor/magento/framework/Interception/Interceptor.php:135]\r\n#29 MGS\\Mpanel\\Controller\\CatalogSearch\\Result\\Index\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]\r\n#30 MGS\\Mpanel\\Controller\\CatalogSearch\\Result\\Index\\Interceptor->___callPlugins('execute', array(), NULL) called at [generated/code/MGS/Mpanel/Controller/CatalogSearch/Result/Index/Interceptor.php:26]\r\n#31 MGS\\Mpanel\\Controller\\CatalogSearch\\Result\\Index\\Interceptor->execute() called at [vendor/magento/framework/App/Action/Action.php:108]\r\n#32 Magento\\Framework\\App\\Action\\Action->dispatch(&Magento\\Framework\\App\\Request\\Http#000000005baf68ef00000000299731bd#) called at [vendor/magento/framework/Interception/Interceptor.php:58]\r\n#33 MGS\\Mpanel\\Controller\\CatalogSearch\\Result\\Index\\Interceptor->___callParent('dispatch', array(&Magento\\Framework\\App\\Request\\Http#000000005baf68ef00000000299731bd#)) called at [vendor/magento/framework/Interception/Interceptor.php:138]\r\n#34 MGS\\Mpanel\\Controller\\CatalogSearch\\Result\\Index\\Interceptor->Magento\\Framework\\Interception\\{closure}(&Magento\\Framework\\App\\Request\\Http#000000005baf68ef00000000299731bd#) called at [vendor/magento/framework/Interception/Interceptor.php:153]\r\n#35 MGS\\Mpanel\\Controller\\CatalogSearch\\Result\\Index\\Interceptor->___callPlugins('dispatch', array(&Magento\\Framework\\App\\Request\\Http#000000005baf68ef00000000299731bd#), array(array('customerNotifica...', 'designLoader', 'catalog_app_acti...', 'tax-app-action-d...', 'weee-app-action-...', 'storeCheck', 'contextPlugin', 'customer-app-act...'), array('ajaxcart-action-...', 'mstSeoContentPut...', 'mstSeoContentApp...', 'mstSeoContentApp...', 'mstSeoContentApp...'))) called at [generated/code/MGS/Mpanel/Controller/CatalogSearch/Result/Index/Interceptor.php:39]\r\n#36 MGS\\Mpanel\\Controller\\CatalogSearch\\Result\\Index\\Interceptor->dispatch(&Magento\\Framework\\App\\Request\\Http#000000005baf68ef00000000299731bd#) called at [vendor/magento/framework/App/FrontController.php:159]\r\n#37 Magento\\Framework\\App\\FrontController->processRequest(&Magento\\Framework\\App\\Request\\Http#000000005baf68ef00000000299731bd#, &MGS\\Mpanel\\Controller\\CatalogSearch\\Result\\Index\\Interceptor#000000005baf6bde00000000299731bd#) called at [vendor/magento/framework/App/FrontController.php:99]\r\n#38 Magento\\Framework\\App\\FrontController->dispatch(&Magento\\Framework\\App\\Request\\Http#000000005baf68ef00000000299731bd#) called at [vendor/magento/framework/Interception/Interceptor.php:58]\r\n#39 Magento\\Framework\\App\\FrontController\\Interceptor->___callParent('dispatch', array(&Magento\\Framework\\App\\Request\\Http#000000005baf68ef00000000299731bd#)) called at [vendor/magento/framework/Interception/Interceptor.php:138]\r\n#40 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}(&Magento\\Framework\\App\\Request\\Http#000000005baf68ef00000000299731bd#) called at [vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php:94]\r\n#41 Magento\\Store\\App\\FrontController\\Plugin\\RequestPreprocessor->aroundDispatch(&Magento\\Framework\\App\\FrontController\\Interceptor#000000005baf699900000000299731bd#, &Closure#000000005baf69c700000000299731bd#, &Magento\\Framework\\App\\Request\\Http#000000005baf68ef00000000299731bd#) called at [vendor/magento/framework/Interception/Interceptor.php:135]\r\n#42 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}(&Magento\\Framework\\App\\Request\\Http#000000005baf68ef00000000299731bd#) called at [vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php:73]\r\n#43 Magento\\PageCache\\Model\\App\\FrontController\\BuiltinPlugin->aroundDispatch(&Magento\\Framework\\App\\FrontController\\Interceptor#000000005baf699900000000299731bd#, &Closure#000000005baf69c700000000299731bd#, &Magento\\Framework\\App\\Request\\Http#000000005baf68ef00000000299731bd#) called at [vendor/magento/framework/Interception/Interceptor.php:135]\r\n#44 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}(&Magento\\Framework\\App\\Request\\Http#000000005baf68ef00000000299731bd#) called at [vendor/magento/framework/Interception/Interceptor.php:153]\r\n#45 Magento\\Framework\\App\\FrontController\\Interceptor->___callPlugins('dispatch', array(&Magento\\Framework\\App\\Request\\Http#000000005baf68ef00000000299731bd#), array(array('mstCoreDispatch'))) called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:26]\r\n#46 Magento\\Framework\\App\\FrontController\\Interceptor->dispatch(&Magento\\Framework\\App\\Request\\Http#000000005baf68ef00000000299731bd#) called at [vendor/magento/framework/App/Http.php:137]\r\n#47 Magento\\Framework\\App\\Http->launch() called at [vendor/magento/framework/App/Bootstrap.php:261]\r\n#48 Magento\\Framework\\App\\Bootstrap->run(&Magento\\Framework\\App\\Http\\Interceptor#000000005baf680d00000000299731bd#) called at [index.php:39]\r\n```\r\nHow I can solve that? \r\n\r\nThanks."}}
{"actor":{"display_login":"skazhikadyadya"}}