Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't upload csv in firefox live system #1039

Closed
sarahsporck opened this issue Jul 3, 2023 · 3 comments · Fixed by #1181
Closed

Can't upload csv in firefox live system #1039

sarahsporck opened this issue Jul 3, 2023 · 3 comments · Fixed by #1181
Assignees
Labels
Bug Something isn't working

Comments

@sarahsporck
Copy link
Contributor

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to bayern.ehrenamtskarte.app/cards/import
  2. Click on Mehrere Karten erstellen
  3. Lade die gegebene CSV hoch (*)
  4. See error "Ungültiger Dateityp"

(*) CSV datei

Name,Ablaufdatum,Kartentyp
Thea Test,03.3.2026,Standard
Tilo Torvitz,,Goldkarte
Torben Trost,,Goldkarte
Tina Tuchel,12.10.2024,Standard
Tamara Tsaregorodtseva,05.05.2025,Standard
Tom Thomasson,05.05.2025,Standard
Torsten Tuchele,1.1.2025,Goldkarte

Expected behavior
File is loaded and entries are displayed

Desktop (please complete the following information):

  • Browser firefox
  • Version ?

Additional context
Add any other context about the problem here.

maybe check out the discussion in this stackoveflow answer
https://stackoverflow.com/a/11834872

@sarahsporck sarahsporck added the Bug Something isn't working label Jul 3, 2023
@sarahsporck sarahsporck changed the title Can't upload csv in firefox live system. Can't upload csv in firefox live system Jul 3, 2023
@sarahsporck
Copy link
Contributor Author

This bug occured for Daniel in the live system. But the hints in https://stackoverflow.com/a/11834872 point that on firefox ubuntu you must also accept text/csv to import a csv file in Firefox.

@sarahsporck sarahsporck linked a pull request Jul 21, 2023 that will close this issue
@ztefanie ztefanie self-assigned this Oct 17, 2023
@ztefanie
Copy link
Member

I cannot reproduce this. When I save the file as a .csv it works as expected. If I remove the file ending, uploading fails as expected. Also exporting a csv from libre-office works as expected, creating a correct csv that is recognized correctly.

I tried Firefox 118.0.2 (a very new version)
and Firefox 75.0 (release from april 2020)

@ztefanie ztefanie removed their assignment Oct 19, 2023
@sarahsporck
Copy link
Contributor Author

I tested locally, if removing the "accept" value in the html changes anything and found that it doesn't, so I'd try to reopen #1059 and see if that changes anything. I'm pretty sure this will fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
2 participants