The "landing" route on / is unreachable (shadowed by the API entrypoint)
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 68/100
Línea de trabajo
Empieza en src/Controller/SecurityController.php alrededor de la línea 29, donde se define la ruta landing en /, y confirma que el entrypoint de API Platform responde primero a /. Luego lee tests/Api/SiteRoutesTest.php, en concreto testRootReturnsApiPlatformEntrypointNotTheLandingController, que fija el comportamiento actual. Se considera terminado cuando la ruta y la acción muertas se eliminan o se mueven, y ese test se actualiza para que coincida.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
SecurityController defines #[Route(path: '/', name: 'landing')], but API Platform's entrypoint route answers / first, so this action can never run. After the API Platform 4 upgrade, / serves JSON-LD/HTML only (plain JSON gets 406).
Expected
Remove the dead route and action, or move them to another path if they are still needed.
Where
src/Controller/SecurityController.php (around line 29).
Pinned in tests/Api/SiteRoutesTest.php (testRootReturnsApiPlatformEntrypointNotTheLandingController).
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 62/100
RunningJoke/allipunkte#71 ·
-
Backend bug severity: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
RunningJoke/allipunkte#68 ·
-
Backend bug severity: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
RunningJoke/allipunkte#65 ·
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