pimcore / ecommerce-framework-bundle

Ecommerce Framework community bundle provides e-commerce functionality such as product listing and filtering, pricing, carts and checkouts for Pimcore.
https://pimcore.com/docs/platform/Ecommerce_Framework/
Other
8 stars 28 forks source link

[Bug]: Array to string conversion while product indexing #150

Closed 80Quattro closed 4 months ago

80Quattro commented 6 months ago

Expected behavior

Product indexer works with all provided getters (also DefaultBrickGetterSequenceToMultiselect)

Actual behavior

If in index_service configuration, the getter_id: Pimcore\Bundle\EcommerceFrameworkBundle\IndexService\Getter\DefaultBrickGetterSequenceToMultiselect is set, the exception is thrown:

Exception in IndexService: ErrorException: Warning: Array to string conversion in /var/www/html/app/site/vendor/pimcore/ecommerce-framework-bundle/src/IndexService/Worker/AbstractWorker.php

The DefaultBrickGetterSequenceToMultiselect getter returns a multidimensional array, which cannot be processed in implode() function in AbstractWorker->convertArray()

Steps to reproduce

github-actions[bot] commented 5 months ago

Thanks a lot for reporting the issue. We did not consider the issue as "Pimcore:Priority", "Pimcore:ToDo" or "Pimcore:Backlog", so we're not going to work on that anytime soon. Please create a pull request to fix the issue if this is a bug report. We'll then review it as quickly as possible. If you're interested in contributing a feature, please contact us first here before creating a pull request. We'll then decide whether we'd accept it or not. Thanks for your understanding.

fashxp commented 4 months ago

fixed via #167