Open dankoz51 opened 3 years ago
Hello @dankoz51,
Our reader is based on the native product CSV reader. Line by line reading is managed by native code. Can you try on the new version of Akeneo / bundle?
Hi @simoncarre,
the problem is here: https://github.com/ClickAndMortar/AdvancedCsvConnectorBundle/blob/8e3f48ada2c62022944cd908e4f9c1d271419998/Helper/ImportHelper.php#L33
The Advacned Connector splits files into 1000 line chunks. If the 1000st linebreak is inside a data line with line breaks, it will break the data of one product line and split it over 2 files.
You have to refactor splitting the file: https://github.com/ClickAndMortar/AdvancedCsvConnectorBundle/blob/8e3f48ada2c62022944cd908e4f9c1d271419998/Resources/bin/split-csv-files.sh#L52
split
splits at line breaks not at csv data line end.
This csv file will not import as it will break on the returns that are part of the HTML fields. This file will import and export out of google sheets just fine but when it goes into akeneo advanced csv it will break it apart based on the embed \n returns.
It should be able to process /n that is encapsulated such as " some text \n some text \n"