You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is set, the WebDebugToolbarListener is still executed (but disabled). Ideally it should not be executed at all.
Both options must be false because they are indepentend of each other. Its quite irritating that toolbar option maps to WebDebugToolbarListener::DISABLED/ENABLED because its not really disabled either because intercept_redirects can still be active.
The text was updated successfully, but these errors were encountered:
This PR was merged into the master branch.
Discussion
----------
[WebProfilerBundle] make toolbar listener instantiation conditional
In the `WebProfilerBundle`, if `intercept_redirects` and `toolbar` options are both `false`, the `toolbar.xml` config file should not be loaded as the listener becomes useless.
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #8130
Commits
-------
17cbfc8 [WebProfilerBundle] made toolbar listener instantiation conditional
Currently when
is set, the WebDebugToolbarListener is still executed (but disabled). Ideally it should not be executed at all.
Both options must be false because they are indepentend of each other. Its quite irritating that toolbar option maps to
WebDebugToolbarListener::DISABLED/ENABLED
because its not really disabled either because intercept_redirects can still be active.The text was updated successfully, but these errors were encountered: