CSV import endpoint crashes without a file
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 35/100
Línea de trabajo
Start in src/Controller/ImportController.php and find where the csv file field is read, since a missing field raises a TypeError and a 500. Then check the test pinned in tests/Api/ImportTest.php around line 61, which records the current behaviour. The issue suggests removing the endpoint rather than fixing it, so settle that with the maintainer first. Done means the chosen behaviour is implemented and that test is updated to match.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
POST /admin/users/csvimport without the csv file field is not validated, which raises a TypeError and gives a 500.
Note
The member import was a one-off. The planned reconciliation (#61) replaces it and does not import. Consider removing this endpoint instead of fixing it.
Where
src/Controller/ImportController.php.
Pinned in tests/Api/ImportTest.php (around line 61).
Found by the API test suite added for #57 (branch feature/57-symfony-7.4); the behaviour is the same before and after the Symfony 7.4 upgrade. The current behaviour is pinned in the test named above (marked NOTE: current behaviour), so update that test together with the fix.
- Lenguaje dominante
- PHP
- Estrellas
- 1
- Forks
- 0
- Merge medio
- 7 h 58 min
- PR fusionados (30 d)
- 3
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de RunningJoke/allipunkte
-
Backend bug severity: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
RunningJoke/allipunkte#74 ·
-
Backend bug severity: low
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
RunningJoke/allipunkte#73 ·
-
Backend bug severity: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
RunningJoke/allipunkte#72 ·
-
Backend bug severity: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
RunningJoke/allipunkte#71 ·
-
Backend bug severity: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
RunningJoke/allipunkte#68 ·
Todos los issues de RunningJoke/allipunkte
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
2DAW-CarlosIII/eportfolio_g5#15 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
2DAW-CarlosIII/eportfolio_g4#16 ·
Los mantenedores suelen responder en 1 día
-
Vinyl Cache 9.1 is now LTSAbiertobug
Dificultad 1/5 1-3 horas Aptitud para principiantes 70/100
endoflife-date/endoflife.date#11679 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
2DAW-CarlosIII/eportfolio_g1#18 ·
Los mantenedores suelen responder en 2 días