Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-32547

CSV import optional trim

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2023.11, 2021.53
    • Fix Version/s: 2021.x, 2023.x
    • Component/s: CSV Importer

      Description

      A client has a use case where they are importing documents from CSV and values have preceding and following whitespace. Make the trim option enabled or disabled via a configuration property.

      Example CSV
      "name","type","dc:title","dc:description","dc:issued"
      "my-file","File","My file","   This is my file's description   ","2020-10-01T00:00:00"
      

      https://github.com/nuxeo/nuxeo/blob/2021/modules/platform/nuxeo-csv-core/src/main/java/org/nuxeo/ecm/csv/core/CSVImporterWork.java#L433

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hbrown Harlan Brown
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: