Skip to content

[WebProfilerBundle] Add missing use statement. #18340

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

Merged
merged 1 commit into from
Mar 29, 2016

Conversation

camporter
Copy link
Contributor

Q A
Branch? 2.7
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

The RouterController creates a Request in getTraces, but does not have a use statement, which causes an exception when trying to view profile routing in >2.7.

Request is needed in RouterController::getTraces to be able to create a request.
@fabpot
Copy link
Member

fabpot commented Mar 29, 2016

👍

@javiereguiluz
Copy link
Member

👍

@xabbuh
Copy link
Member

xabbuh commented Mar 29, 2016

Thank you @camporter.

@xabbuh xabbuh merged commit 0d31c3e into symfony:2.7 Mar 29, 2016
xabbuh added a commit that referenced this pull request Mar 29, 2016
This PR was merged into the 2.7 branch.

Discussion
----------

[WebProfilerBundle] Add missing use statement.

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

The RouterController creates a Request in getTraces, but does not have a `use` statement, which causes an exception when trying to view profile routing in >2.7.

Commits
-------

0d31c3e [WebProfilerBundle] Add missing use statement.
@JarJak
Copy link

JarJak commented Apr 6, 2016

Please add this to 2.8 version (2.8.5) since the problem still exists there.

@xabbuh
Copy link
Member

xabbuh commented Apr 6, 2016

@JarJak see #18342 (comment)

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.

6 participants