Skip to content

Conversation

fancyweb
Copy link
Contributor

Q A
Branch? 5.2
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

debug:router is broken when you add a route in the Kernel (see https://symfony.com/doc/current/configuration/micro_kernel_trait.html) because kernel is not a class and triggers a \ReflectionException. The code in the exception handling always expect $controller to be a string.

@fancyweb fancyweb force-pushed the fwb/debug-router-controller-link-array branch from f7e059c to be964bd Compare April 15, 2021 11:20
@chalasr
Copy link
Member

chalasr commented Apr 15, 2021

This probably deserves a test case.

@nicolas-grekas
Copy link
Member

Thank you @fancyweb.

@nicolas-grekas nicolas-grekas merged commit 449c60f into symfony:5.2 Apr 16, 2021
@fancyweb fancyweb deleted the fwb/debug-router-controller-link-array branch April 20, 2021 13:35
@fabpot fabpot mentioned this pull request May 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants