Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Doctrine profiler view #2897

Merged
merged 1 commit into from

2 participants

@aboks

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -

After the changes in #2733, the parameters to Doctrine queries were
always shown as 'Array' in the profiler. This commit puts back the
yaml_encode that is still needed after all.

@aboks aboks [DoctrineBundle] Fixed incorrectly shown params
After the changes in #2733, the parameters to Doctrine queries were
always shown as 'Array' in the profiler. This commit puts back the
yaml_encode that is still needed after all.
662fdc3
@fabpot fabpot referenced this pull request from a commit
@fabpot fabpot merged branch aboks/doctrine-profiler-view (PR #2897)
Commits
-------

662fdc3 [DoctrineBundle] Fixed incorrectly shown params

Discussion
----------

Doctrine profiler view

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -

After the changes in #2733, the parameters to Doctrine queries were
always shown as 'Array' in the profiler. This commit puts back the
yaml_encode that is still needed after all.
af9ddc0
@fabpot fabpot merged commit 662fdc3 into from
@mmucklo mmucklo referenced this pull request from a commit
@fabpot fabpot merged branch aboks/doctrine-profiler-view (PR #2897)
Commits
-------

662fdc3 [DoctrineBundle] Fixed incorrectly shown params

Discussion
----------

Doctrine profiler view

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -

After the changes in #2733, the parameters to Doctrine queries were
always shown as 'Array' in the profiler. This commit puts back the
yaml_encode that is still needed after all.
b5ae4ba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 16, 2011
  1. @aboks

    [DoctrineBundle] Fixed incorrectly shown params

    aboks authored
    After the changes in #2733, the parameters to Doctrine queries were
    always shown as 'Array' in the profiler. This commit puts back the
    yaml_encode that is still needed after all.
This page is out of date. Refresh to see the latest.
View
2  src/Symfony/Bundle/DoctrineBundle/Resources/views/Collector/db.html.twig
@@ -36,7 +36,7 @@
<code>{{ query.sql }}</code>
</div>
<small>
- <strong>Parameters</strong>: {{ query.params }}<br />
+ <strong>Parameters</strong>: {{ query.params|yaml_encode }}<br />
<strong>Time</strong>: {{ '%0.2f'|format(query.executionMS * 1000) }} ms
</small>
</li>
Something went wrong with that request. Please try again.