-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[WebProfilerBundle][HttpKernel] Make FileLinkFormatter URL format generation lazy #26758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Q | A |
---|---|
Branch? | 3.4 |
Bug fix? | yes |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | #26755, #26754 |
License | MIT |
Doc PR | - |
b3de3d1
to
0221720
Compare
0221720
to
e074c05
Compare
Thank you @nicolas-grekas. |
… format generation lazy (nicolas-grekas) This PR was merged into the 3.4 branch. Discussion ---------- [WebProfilerBundle][HttpKernel] Make FileLinkFormatter URL format generation lazy | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #26755, #26754 | License | MIT | Doc PR | - Commits ------- e074c05 [WebProfilerBundle][HttpKernel] Make FileLinkFormatter URL format generation lazy
Will we have to wait around a month to get this fix in either 4.1 or 4.0.8? Was waiting for #26568 in 4.0.7 but then this broke my functional tests. So just trying to work out whether to fork and apply this patch or just wait. Cheers! |
@@ -53,6 +56,11 @@ public function load(array $configs, ContainerBuilder $container) | |||
$container->setParameter('web_profiler.debug_toolbar.intercept_redirects', $config['intercept_redirects']); | |||
$container->setParameter('web_profiler.debug_toolbar.mode', $config['toolbar'] ? WebDebugToolbarListener::ENABLED : WebDebugToolbarListener::DISABLED); | |||
} | |||
|
|||
if (Kernel::VERSION_ID >= 30408 || Kernel::VERSION_ID >= 40008) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this needs to be Kernel::VERSION_ID >= 30408 && Kernel::VERSION_ID < 40000 || Kernel::VERSION_ID >= 40008)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in 946eefa
Can someone tell my why is |
We use it in a functional test to assert that an email was sent during a
request as there is a Swiftmailer integration into the Profiler
…On Thu, 5 Apr 2018 at 7:57 pm, Jáchym Toušek ***@***.***> wrote:
Can someone tell my why is WebProfilerBundle active in test env? What is
it used for in tests?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#26758 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB94GxQpSFzw1vw9-2WMnshKmkZhh2pJks5tlepsgaJpZM4TEzBG>
.
|
@nicolas-grekas Any chance of getting this out soon? Having the following kind of errors reported with what I presume is this issue:
|