Actions
Defect #44051
openCSV import fails with `Unquoted fields do not allow new line <"\n"> in line 1` on latest trunk on Windows
Status:
New
Priority:
Normal
Assignee:
-
Category:
Importers
Target version:
-
Resolution:
Affected version:
Description
I faced a problem to import a CSV file into Redmine on Windows.
Environment¶
- Redmine version 6.1.2.devel ( revision r24649 )
- Ruby version 3.2.9-p265 (2025-07-24) [x64-mingw-ucrt]
- Rails version 8.1.3
- Environment development
- Database adapter SQLite
Observed behavior¶
Importing a UTF-8 BOM CSV with CRLF line endings fails with the error below:
⚠️The file is not a CSV file or does not match the settings below (Unquoted fields do not allow new line <"\n"> in line 1.)
Expected behavior¶
The CSV should import successfully.
Comparison¶
The same CSV file imports successfully on 6.1.0.stable under the same Ruby/OS (Windows) environment.
Also, the latest trunk works correctly on Debian (Docker) with the same CSV file.
The issue seems to occur only on Windows.
This looks related to CSV row separator or line ending handling.
I suspect a regression around revision r24428.
Minimal reproducible CSV sample¶
Files
No data to display
Actions