Catch \League\Csv\Exception in validateImportForm to display file errors

Created on 16 December 2022, almost 2 years ago
Updated 8 September 2024, 3 months ago

Problem/Motivation

The validateImportForm calls buildFileIterator to read all uploaded files. This can fail, if the header e.g. contains duplicate field names or for other reasons. This error message should be displayed to the user.

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024