Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[WebProfilerBundle] Fix panel break when stopwatch component is not installed.#25526

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
javiereguiluz merged 2 commits intosymfony:3.4fromumulmrum:3.4
Dec 28, 2017

Conversation

@umulmrum
Copy link
Contributor

QA
Branch?3.4
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#25350
LicenseMIT
Doc PR-

Fixes a crash in the time profiler panel when the stopwatch is not installed. This avoids a hard dependency like the ticket author requested, as the rest of the component can already deal with that case.

I think this is an issue in 3.4+, but I only tested against 4.0.2 locally (code in the affected file only differs in whitespace between 3.4 and 4.0).

@umulmrumumulmrum changed the titleFix panel break when stopwatch component is not installed.[WebProfilerBundle] Fix panel break when stopwatch component is not installed.Dec 17, 2017
@nicolas-grekasnicolas-grekas added this to the3.4 milestoneDec 18, 2017
{%setsubrequests_time=subrequests_time+ child.getcollector('time').events.__section__.duration %}
{%endfor %}
{%else %}
{%setsubrequests_time=0 %}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

should it be n/a?

Copy link
ContributorAuthor

@umulmrumumulmrumDec 18, 2017
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

The profiler panel shows 0 for all time values, only the toolbar shows n/a. I can change it to be n/a for all values if you like it better. WDYT?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

"n/a" looks better to me

Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

(with minor comment)

@javiereguiluz
Copy link
Member

@umulmrum thanks for fixing this bug and congrats on your first Symfony contribution!

umulmrum reacted with heart emoji

@javiereguiluzjaviereguiluz merged commite9577cb intosymfony:3.4Dec 28, 2017
javiereguiluz added a commit that referenced this pull requestDec 28, 2017
…nt is not installed. (umulmrum, javiereguiluz)This PR was merged into the 3.4 branch.Discussion----------[WebProfilerBundle] Fix panel break when stopwatch component is not installed.| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#25350| License       | MIT| Doc PR        | -Fixes a crash in the time profiler panel when the stopwatch is not installed. This avoids a hard dependency like the ticket author requested, as the rest of the component can already deal with that case.I think this is an issue in 3.4+, but I only tested against 4.0.2 locally (code in the affected file only differs in whitespace between 3.4 and 4.0).Commits-------e9577cb Display n/a for sub-requests time when Stopwatch component is not installed410b597 Fix panel break when stopwatch component is not installed.
This was referencedJan 5, 2018
ostrolucky pushed a commit to ostrolucky/symfony that referenced this pull requestMar 25, 2018
…component is not installed. (umulmrum, javiereguiluz)This PR was merged into the 3.4 branch.Discussion----------[WebProfilerBundle] Fix panel break when stopwatch component is not installed.| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |symfony#25350| License       | MIT| Doc PR        | -Fixes a crash in the time profiler panel when the stopwatch is not installed. This avoids a hard dependency like the ticket author requested, as the rest of the component can already deal with that case.I think this is an issue in 3.4+, but I only tested against 4.0.2 locally (code in the affected file only differs in whitespace between 3.4 and 4.0).Commits-------e9577cb Display n/a for sub-requests time when Stopwatch component is not installed410b597 Fix panel break when stopwatch component is not installed.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@xabbuhxabbuhxabbuh left review comments

@javiereguiluzjaviereguiluzjaviereguiluz approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

+1 more reviewer

@SimperfitSimperfitSimperfit approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

6 participants

@umulmrum@javiereguiluz@nicolas-grekas@xabbuh@Simperfit@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp