Alexander Hälbich
Alexander Hälbich
same issue for me. @jwu910 solution didn't work for me either. ``` WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module '/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/build/Release/epoll.node' was compiled...
That makes sense, we will refactor our color attribute probably then. Issue unfortunately occurs also when I use another attribute, for example I tried "material_filter". There I get `current_type [text],...
ok, then I don't know why ES thinks I have different types. I just created a completely new M2 instance and added a multiselect attribute there: ![Bildschirmfoto 2019-05-23 um 10...
So mabye all multiselect attribute values should be treated as text, also when only one option was selected. E.g. `[13]` ?!
@pkarw I don't think this has anything to do with color as it appears on a different attribute as well. Also I tried to always just return an array [here](https://github.com/DivanteLtd/mage2vuestorefront/blob/c71788e1c918225685344657f9d6ca0b2417d801/src/adapters/magento/product.js#L244)...
it's working for now by also parsing the value to an integer in [product.js](https://github.com/DivanteLtd/mage2vuestorefront/blob/c71788e1c918225685344657f9d6ca0b2417d801/src/adapters/magento/product.js#L244): ``` else if (customAttribute.attribute_code === 'material_filter') { attrValue = [parseInt(customAttribute.value)] } ``` This is a workaround...
#369 would probably fix this
@andres-linares2211 In case you didn't know: You can also apply this PR by using [composer-patches](https://github.com/cweagans/composer-patches/), described in Magento Docs [here](https://devdocs.magento.com/guides/v2.4/comp-mgr/patching.html#custom-patches). (Which is what we will do until this is merged...
It's 70KB small. It's a cutout of the [background](https://user-images.githubusercontent.com/15052352/32177697-37319318-bd8b-11e7-9110-8485810804e9.png) so it should blend perfectly in. 
I just linked it in my [previous answer](https://github.com/kr15h/ofxPiMapper/issues/122#issuecomment-340470865) 👍