- Issue created by @bradjones1
- ๐ฎ๐ณIndia Akhil Babu Chengannur
Akhil Babu โ made their first commit to this issueโs fork.
- Merge request !8907Issues/3463415: Throw an exception when building route paths unsupported by Drupal. โ (Open) created by Akhil Babu
- ๐ฎ๐ณIndia Akhil Babu Chengannur
This would be very helpfull. Right now, Drupal just shows a 'page not found' message when the route is invalid.
- Status changed to Needs work
about 2 months ago 6:22pm 24 July 2024 - ๐บ๐ธUnited States bradjones1 Digital Nomad Life
@Akhil Babu, thanks for this! I think this change could be made pretty easily, and your MR gets at the core (only?) real code change that needs to be made. (I think a LogicException might be more appropriate here?)
What this needs, though, is tests that validate the universe of allowed and disallowed patterns. That would also help in documenting in code what is and isn't allowed by Drupal's route builder.