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

[TwigBundle] Remove profiler related scripting#24281

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
fabpot merged 2 commits intosymfony:3.3fromro0NL:ajax
Sep 26, 2017
Merged

[TwigBundle] Remove profiler related scripting#24281

fabpot merged 2 commits intosymfony:3.3fromro0NL:ajax
Sep 26, 2017

Conversation

@ro0NL
Copy link
Contributor

@ro0NLro0NL commentedSep 21, 2017
edited
Loading

QA
Branch?3.3
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#...
LicenseMIT
Doc PRsymfony/symfony-docs#...

For sanity.

Also in case of an exception page we conflict with the profiler scripting/css.

Uncaught TypeError: Cannot set property 'className' of null

Happens becauseSfjs.createTabs from the profiler tries to process tabs again, which twig has already done. The code doesnt handle this gracefully.

In case of ajax request (edgy yes) we see the CSS conflicting;

image

Note the table borders. Not sure how and if we want to solve this nor what it might affect otherwise; open for now.

@fabpot
Copy link
Member

Thank you@ro0NL.

@fabpotfabpot merged commiteb520e1 intosymfony:3.3Sep 26, 2017
fabpot added a commit that referenced this pull requestSep 26, 2017
…iereguiluz)This PR was merged into the 3.3 branch.Discussion----------[TwigBundle] Remove profiler related scripting| Q             | A| ------------- | ---| Branch?       | 3.3| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | #... <!-- #-prefixed issue number(s), if any -->| License       | MIT| Doc PR        | symfony/symfony-docs#... <!--highly recommended for new features-->For sanity.Also in case of an exception page we conflict with the profiler scripting/css.```Uncaught TypeError: Cannot set property 'className' of null```Happens because `Sfjs.createTabs` from the profiler tries to process tabs again, which twig has already done. The code doesnt handle this gracefully.In case of ajax request (edgy yes) we see the CSS conflicting;![image](https://user-images.githubusercontent.com/1047696/30712781-7680c8d2-9f0d-11e7-8a6c-27f460c1e780.png)Note the table borders. Not sure how and if we want to solve this nor what it might affect otherwise; open for now.Commits-------eb520e1 Minor reword02dcdca [TwigBundle] Remove profiler related scripting
@ro0NLro0NL deleted the ajax branchSeptember 27, 2017 06:54
@fabpotfabpot mentioned this pull requestOct 5, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@javiereguiluzjaviereguiluzjaviereguiluz approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.3

Development

Successfully merging this pull request may close these issues.

5 participants

@ro0NL@fabpot@javiereguiluz@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp