-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Form][WebProfiler] Fixed issue#10054 : cannot report form data when "allow_add" is true in a field #12889
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
Conversation
HeahDude
commented
Dec 7, 2014
Q | A |
---|---|
Bug fix? | yes |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | #10054 |
License | MIT |
Doc PR | @WebProfilerBundle:Collector:form.html.twig, without checking if data.type is defined on line 423, web profiler crash to report form data when "allow_add" is true. |
{% if data.type is defined and data.type is not empty %} Without check if defined web profiler crash to report form data on line 423. check the topic symfony#10054
@HeahDude why did you close? |
@jakzal I'm trying to follow these instructions first cause I'm having errors. Sorry I'm new to symfony, I discovered it 3 weeks ago and I really enjoy developing my first project with it. I'm reading GitHub documentation and once I've managed to do it right I will reopen it. |
@HeahDude no problem, don't forget to include the table from http://symfony.com/fr/doc/current/contributing/code/patches.html#faites-une-pull-request (edit the description of this PR) Would be also good if you described how web profiler fails (paste the stack trace perhaps). |
| Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony#10054 | License | MIT | Doc PR | @WebProfilerBundle:Collector:form.html.twig, without checking if data.type is defined on line 423, web profiler crash to report form data when "allow_add" is true.
This reverts commit f8393bf.
| Q | A | ------------- | --- | Fixed tickets | symfony#12949 | License | MIT
@HeahDude That's right, but you can avoid this by putting the condition around the complete {% if data.id is defined %} id="{{ data.id }}-details"{% endif %} |
@HeahDude Never mind, I just noticed that this is how the code actually looks like. |
But it's needed in line 545. |
@xabbuh noted :) thanks |
Closing in favor of #13027 |