DivanteLtd / magento1-vsbridge-indexer

This is an official, native Vue Storefront data indexer for Magento 1.9
https://vuestorefront.io
MIT License
18 stars 24 forks source link

Missing change for new indexnaming (with storefront-api) #52

Closed kkrieger85 closed 4 years ago

kkrieger85 commented 4 years ago

Setup:

M1 (1.9.4.4) + https://github.com/DivanteLtd/magento1-vsbridge-indexer + https://github.com/DivanteLtd/magento1-vsbridge ES Index build with shell script: /shell$ php vsf_tools.php --action full_reindex --store 1

Frontend: https://github.com/DivanteLtd/vue-storefront + https://github.com/DivanteLtd/storefront-api

Error Message:

(node:31063) UnhandledPromiseRejectionWarning: Error: {"root_cause":[{"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"vue_storefront_magento_1_attribute","index_uuid":"_na_","index":"vue_storefront_magento_1_attribute"}],"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"vue_storefront_magento_1_attribute","index_uuid":"_na_","index":"vue_storefront_magento_1_attribute"}
(node:31063) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 47)
kkrieger85 commented 4 years ago

Using vue-storefront-api all works fine

afirlejczyk commented 4 years ago

Module can create different index names in ES (depends on configuration) please check what indices have been created using magento1 module.

Magento 1 module does not support ES6+

There is issue for that: https://github.com/DivanteLtd/magento1-vsbridge-indexer/issues/44