Improvements for CSV import template

Description

There are several potential improvements identified for the CSV Import Template:

  • EOL character configurable (the importer is failing when the file comes with windows EOL)

    • During development was found that EOL is managed properly reading DOS/Unix/MAC files, the problem is when the UTF-8 file comes with BOM character

  • Delimiter configurable

  • Quote delimiter configurable

  • Allow also import of XLS and XLSX

Environment

None

Activity

Carlos Ruiz
April 4, 2024 at 1:55 PM

Jaime reported issues when creating an import template record using the separator |

Found that using the String.split function is very brittle as it expects a regular expression there, and the validation would also fail with quoted strings, so is better to use SuperCSV for that purpose.

Carlos Ruiz
March 27, 2024 at 11:10 PM

Feature installed in https://test-feature.idempiere.org:3243/webui/ in case somebody wants to test

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created February 10, 2024 at 5:42 PM
Updated March 7, 2025 at 11:09 AM
Resolved April 5, 2024 at 9:42 AM