-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
symfony/http-client - Stop working with profiler #49219
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
Labels
Comments
This seems to have appeared after the CVE fixes. |
8000
Problem has appeared with this PR : 3cb1d70 I feel |
nicolas-grekas
added a commit
that referenced
this issue
Feb 10, 2023
This PR was merged into the 5.4 branch. Discussion ---------- [HttpClient] Fix data collector | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | - | Tickets | #49219 | License | MIT | Doc PR | - It fixes HTTP requests not showing anymore in the profiler panel because `lateCollect()` overrides `request_count` to 0. It also fixes the wrong error count. Commits ------- 8ec869e [HttpClient] Fix data collector
symfony-splitter
pushed a commit
to symfony/http-client
that referenced
this issue
Feb 10, 2023
This PR was merged into the 5.4 branch. Discussion ---------- [HttpClient] Fix data collector | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | - | Tickets | symfony/symfony#49219 | License | MIT | Doc PR | - It fixes HTTP requests not showing anymore in the profiler panel because `lateCollect()` overrides `request_count` to 0. It also fixes the wrong error count. Commits ------- 8ec869e51e [HttpClient] Fix data collector
@dmamchyts The patch you screenshotted was already merged in 6.2. #49301 is a new patch that has been merged in 5.4 and will be merged up to 6.2. You have to wait until the next release cycle which should be at the end of the month. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Symfony version(s) affected
5.4.20
Description
With symfony/http-client 5.4.20 HTTP requests no longer appear in the HTTP Client tab of the Symfony profiler.
How to reproduce
Create a controller with an action with an HttpClientInterface parameter.
In the action code, make a call to a valid URL with the client:
With the project in dev mode with debug activated, call the route and go to the profiler:
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: