import icon indicating copy to clipboard operation
import copied to clipboard

Importing files with CRLF line endings leads to unexpected results

Open pathmissing opened this issue 5 years ago • 2 comments

Importing a file with DOS-style CRLF line endings leads to unexpected behaviour. For example when importing attribute sets this leads to only the first row being imported and the attribute_set_code being set to null.

pathmissing avatar Oct 12 '20 13:10 pathmissing

For those requiring a quickfix, you need to install the dos2unix command and update the CSV file using dos2unix csvfile.

MihaiComan90 avatar Oct 13 '20 12:10 MihaiComan90

Short update: The problem does not seem to be related to CRLF line endings. Windows style Byte Order Marks (BOM) do seem to cause the problem. We created an internal ticket for stricter validation of input files. I will update you on the progress.

pathmissing avatar Nov 23 '20 08:11 pathmissing