Needed $mimetype == 'text/csv'

Created on 14 March 2023, over 1 year ago
Updated 20 April 2023, about 1 year ago

Problem/Motivation

Try to import valid CSV.

Error "Failed to open the file"

Steps to reproduce

searched in Code and found in ImportForm.php:

  elseif (($mimetype == "text/xml") || ($mimetype == "application/xml")) {

Proposed resolution

i had to change in

  if ($mimetype == "text/plain" || $mimetype == 'text/csv') {

Remaining tasks

The CSV was created in LibreOffice on an Linux Mint

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇩🇪Germany zbberlin

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

Comments & Activities

Production build 0.69.0 2024