symfony/symfony — pull request #9453 by egeloen (2013-11-06 00:40:23+00:00)
Title: [Form][DateTime] Propagate invalid_message & invalid_message parameters to date & time sub widgets

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

This PR propagates the `invalid_message` & `invalid_message_parameters` in the datetime form type to the date & time sub form type. It allows to have the good error message if you use something else than the `single_widget` widget.

I have looked the `DateTimeTypeTest` but I have not found tests related to this kind of propagation, so for now I have not added tests yet.