symfony/symfony — pull request #13166 by jakzal (2014-12-30 09:52:28+00:00)
Title: Fix a web profiler form issue with fields added to the form after the form was built

| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #13155
| License | MIT
| Doc PR | -

This also make the check consistent with a similar check in this template made further down:
* check for `data.type_class`, instead of `data.type`
* check if `data.type_class` is defined rather than if it's empty

The problem doesn't exist in 2.5.