alfio-event / alfio-event/alf.io

When an error occurs during CSV import of attendees, report errors

Offen
#620 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @cbellone Auf GitHub ansehen
admin area enhancement
Vorherrschende Sprache
Java
Sterne
1.6k
Forks
396
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**Describe the bug**
I created a CSV file with a list of attendees. I imported this file to AlfIO. The progress bar reported 299 imported on 300. Indeed, one entry

**To Reproduce**
Steps to reproduce the behavior:
1. Go to Actions > import existing attendess
2. Create a simple CSV file with 3 lines and re-use the very same "reference" value twice
3. Click on import, the preview list should display the 3 entries
4. Click on "Upload" and the progress bar should show "2/3" importedd

**Expected behavior**

I expect to see csv errors reported directly on the web page. Maybe just the java exception, but something that would notify the user, that the file is not valid.

Some errors are reported on the console log. This is how I found the error and fixed my CSV file. It would be useful to see those errors on the web page.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.