pimcore-data-definitions icon indicating copy to clipboard operation
pimcore-data-definitions copied to clipboard

ExcelProvider not working properly anymore

Open paulverdu opened this issue 3 years ago • 2 comments

Q A
Bug report? yes
Feature request? on
BC Break report? no
RFC? yes
Branch? master

Exception thrown: Wvision\Bundle\DataDefinitionsBundle\Provider\ExcelProvider::Wvision\Bundle\DataDefinitionsBundle\Provider\{closure}(): Argument #1 ($row) must be of type array, Box\Spout\Common\Entity\Row given, called in ./vendor/w-vision/data-definitions/src/DataDefinitionsBundle/Provider/ImportDataSet.php on line 50

The processor callable function in ExcelProvider:getData gets an array $row but expects an object of type Box\Spout\Common\Entity\Row. Excel files can not be imported anymore because of this exception.

paulverdu avatar Aug 16 '21 10:08 paulverdu

https://github.com/w-vision/DataDefinitions/pull/319 should solve it, can you maybe test it?

dpfaffenbauer avatar Aug 16 '21 11:08 dpfaffenbauer

#319 should solve it, can you maybe test it?

Awesome. I will test it right away

paulverdu avatar Aug 16 '21 11:08 paulverdu