View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
18482Bug reportsErgonomypublic2022-11-15 09:05
ReporterNickko Assigned To 
PrioritynoneSeverityminor 
Status acknowledgedResolutionopen 
Product Version5.4.x 
Summary18482: Participant CSV import error
Description

Limesurvey seems to decide if a file is of CSV type only on the basis of its extension, but not all programs use .CSV sometimes, it can be .TXT, this generates errors that are not clear for the user and above all it generates errors that are not errors.

Steps To Reproduce

Steps to reproduce

First, create a CSV file with .TXT extension (or whatever than .CSV).

Open a survey, go to "participants", click "create" and "CSV file".
In the dialog who display, choose the CSV file with the .TXT exention.

Expected result

The CSV file is processed no mater its extension.

Actual result

An error message.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)Version 5.4.9+221101
I will donate to the project if issue is resolvedNo
BrowserVivaldi, Edge, same result.
Database type & versionMLySQL
Server OS (if known)OVH shared hosting
Webserver software & version (if known)OVH shared hosting
PHP Version8.1

Users monitoring this issue

User List chimp358

Activities

DenisChenu

DenisChenu

2022-11-10 15:45

developer   ~72701

cs,txt or tsv only, right ?
No reason to check more

Nickko

Nickko

2022-11-15 09:05

updater   ~72736

I think we don't need to check extension expect if we can't read the document.

  1. Try to read the document => success, go ahead.
  2. Error => check the extension
  3. Extension isn't one of the 3 you say => error message, "file must be CSV".

Issue History

Date Modified Username Field Change
2022-11-10 12:40 Nickko New Issue
2022-11-10 14:22 gabrieljenik Status new => acknowledged
2022-11-10 15:45 DenisChenu Note Added: 72701
2022-11-10 15:45 DenisChenu Bug heat 0 => 2
2022-11-15 06:50 chimp358 Issue Monitored: chimp358
2022-11-15 06:50 chimp358 Bug heat 2 => 4
2022-11-15 09:05 Nickko Note Added: 72736
2022-11-15 09:05 Nickko Bug heat 4 => 6