The "landing" route on / is unreachable (shadowed by the API entrypoint)
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 68/100
調査の方向性
src/Controller/SecurityController.php の29行目付近から始めてください。ここで / に対する landing ルートが定義されており、API Platform のエントリポイントが最初に / に応答していることを確認します。次に tests/Api/SiteRoutesTest.php、特に現在の動作を固定している testRootReturnsApiPlatformEntrypointNotTheLandingController を読んでください。デッドルートとアクションを削除または移動し、そのテストを一致するように更新すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- PHP
- スター
- 1
- フォーク
- 0
- 平均マージ
- 7時間 58分
- マージ済み PR(30日)
- 3
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
RunningJoke/allipunkte のほかの issue
-
Backend bug severity: low
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
RunningJoke/allipunkte#74 ·
-
Backend bug severity: low
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
RunningJoke/allipunkte#73 ·
-
Backend bug severity: low
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
RunningJoke/allipunkte#71 ·
-
Backend bug severity: low
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
RunningJoke/allipunkte#68 ·
-
Backend bug severity: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
RunningJoke/allipunkte#65 ·
RunningJoke/allipunkte の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
2DAW-CarlosIII/eportfolio_g5#15 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
2DAW-CarlosIII/eportfolio_g4#16 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1〜3時間 初心者へのやさしさ 70/100
endoflife-date/endoflife.date#11679 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
2DAW-CarlosIII/eportfolio_g1#18 ·
メンテナーはふだん 2 日以内に返信