BlackbitDigitalCommerce / pimcore-data-director

Import Bundle for Pimcore
16 stars 3 forks source link

Bug: unZIPping is impossible for StreamingXmlParser #31

Closed kaurov closed 2 years ago

kaurov commented 2 years ago

\Blackbit\DataDirectorBundle\lib\Pim\Parser\ResourceBasedParser::extractFile

($this instanceof XmlParser && File::getFileExtension($fileName) === 'xml') ||

should be replaced with

 ($this instanceof XmlParser && File::getFileExtension($fileName) === 'xml') ||
 ($this instanceof StreamingXmlParser && File::getFileExtension($fileName) === 'xml') ||
BlackbitDevs commented 2 years ago

Sorry, have overseen this. You are completely right, thanks. Fixed in 3.0.4.