This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Form/Extension
Fabien Potencier edf5d715e3 bug #20307 [Form] Fix Date\TimeType marked as invalid on request with single_text and zero seconds (LuisDeimos)
This PR was squashed before being merged into the 2.7 branch (closes #20307).

Discussion
----------

[Form] Fix Date\TimeType marked as invalid on request with single_text and zero seconds

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

Fix: When using a form with an Time type with option 'widget' => 'single_text', and 0 is selected in the seconds, we obtain an TransformationFailedException "Unable to reverse value for property path "[time]": Data missing". Check ticket #20304

Commits
-------

bcb03e0 [Form] Fix Date\TimeType marked as invalid on request with single_text and zero seconds
2016-11-12 07:33:13 -08:00
..
Core bug #20307 [Form] Fix Date\TimeType marked as invalid on request with single_text and zero seconds (LuisDeimos) 2016-11-12 07:33:13 -08:00
Csrf [Form] Skip CSRF validation on form when POST max size is exceeded 2016-08-15 15:45:25 -07:00
DataCollector Code enhancement and cleanup 2016-09-06 09:26:07 +02:00
DependencyInjection Merge branch '2.3' into 2.7 2015-10-03 18:41:23 +02:00
HttpFoundation [form] lazy trans post_max_size_message. 2016-09-06 16:01:53 +01:00
Templating removed dots at the end of @param and @return 2016-06-28 08:24:06 +02:00
Validator Revert "minor #20011 Use UUID for error codes for Form validator. (Koc)" 2016-09-21 12:03:56 -07:00