Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing files with CRLF line endings leads to unexpected results #196

Open
pathmissing opened this issue Oct 12, 2020 · 2 comments
Open
Labels

Comments

@pathmissing
Copy link
Member

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.

@MihaiComan90
Copy link

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

@pathmissing
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants