-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Dump function from 3.4.5 produces ugly result #26640
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
Comments
[Solved] For some reason twig dump ( We had
Maybe it's connected to #25756 ? |
Can you create a small example project that allows to reproduce your issue? |
Hey, you need repo with example? It's very simple i reproduce it with:
Now it renders dump ok. When i change in |
Status: Reviewed Indeed, @ahilles107 is right. I tested it.
|
BTW, the output you get now is normal since the Also, I'm not sure if it can be considered as a true BC break, since the |
@fancyweb - you are right, we don't use Twig_Extension_Debug in this project from long time but it was still declared in services (our fault). But we talk here about |
And it's quite hard to debug as it looks like some new |
About the BC break, it is one. There is no doubt about it. However, I have learned that when you use Symfony, if your code is working by chance and that it breaks later as a side effect of something else, it might not always be considered as true BC break. Let's wait for a member opinion. |
To me it's a BC break too. |
Can I take this one? |
@pmontoya please do! |
Hey, any progress here @pmontoya? |
@ahilles107 Why don't you just remove your "twig.extension.debug" service ? |
@fancyweb i solved it in first comment to this issue. But it's still BC'break, and I'm looking at this issue from time to time. |
@pmontoya are you still interested in fixing this bug ... or do you prefer to "release" it so others can take it over? Thanks! |
@javiereguiluz : Sorry, I forgot this issue. I'll work on it tomorrow. |
I'm sorry but without using the 4.1 feature with twig extension priority, I don't see how to fix this BC Break without removing #25756 changes |
That's what I'm trying to say since the beginning of this issue. Also does it really worth it to fix this regression 18 patches versions later ? 🤔 |
@nicolas-grekas @fancyweb what can we do about this ? |
After updating symfony to 3.4.5 (from 3.4.4) i get ugly (simple) dumps from twig templates.
3.4.4 result:

3.4.5 result:

Dump's from php files (controller, listener) looks ok. Only twig is affected. Switching back to 3.4.4 solves issue. 3.4.6 is also affected.
The text was updated successfully, but these errors were encountered: