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
Fabien Potencier a8c10ac6e5 bug #18180 [Form] fixed BC break with pre selection of choices with ChoiceType and its children (HeahDude)
This PR was merged into the 2.7 branch.

Discussion
----------

[Form] fixed BC break with pre selection of choices with `ChoiceType` and its children

| Q             | A
| ------------- | ---
| Branch        | 2.7+
| Bugfix?  | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #18173, #14712, #17789
| License       | MIT
| Doc PR        | -

- f7eea72 reverts BC break introduced in #17760
- 58e8ed0 fixes pre selection of choice with model values such as `false`, `null` or empty string without BC break.

`ChoiceType` now always use `ChoiceToValueTransformer` or `ChoicesToValuesTransformer` depending on `multiple` option.
Hence `CheckboxListMapper` and `RadioListMapper` don't handle the transformation anymore.

Commits
-------

ea5375c [Form] refactor CheckboxListMapper and RadioListMapper
71841c7 Revert "[Form] refactor `RadioListMapper::mapDataToForm()`"
2016-04-28 11:51:12 +02:00
..
Asset [2.7] update readme files for new components 2016-03-07 12:06:07 +01:00
BrowserKit Merge branch '2.3' into 2.7 2016-03-04 08:52:28 +01:00
ClassLoader Merge branch '2.3' into 2.7 2016-03-30 12:21:35 +02:00
Config Merge branch '2.3' into 2.7 2016-04-20 20:45:26 +02:00
Console bug #18581 [Console] [TableHelper] make it work with SymfonyStyle. (aitboudad) 2016-04-20 08:32:07 +02:00
CssSelector Merge branch '2.3' into 2.7 2016-03-04 08:52:28 +01:00
Debug [Debug] Fix case sensitivity checks 2016-03-30 11:14:15 +02:00
DependencyInjection Merge branch '2.3' into 2.7 2016-04-14 17:17:41 +02:00
DomCrawler Merge branch '2.3' into 2.7 2016-04-09 12:56:56 +02:00
EventDispatcher Merge branch '2.3' into 2.7 2016-04-04 19:08:16 +02:00
ExpressionLanguage [2.7] update readme files for new components 2016-03-07 12:06:07 +01:00
Filesystem Merge branch '2.3' into 2.7 2016-04-12 17:21:00 +02:00
Finder Merge branch '2.3' into 2.7 2016-03-10 11:49:29 +01:00
Form [Form] refactor CheckboxListMapper and RadioListMapper 2016-04-09 15:28:45 +02:00
HttpFoundation Merge branch '2.3' into 2.7 2016-04-05 18:36:43 +02:00
HttpKernel [HttpKernel] Fix wrong number of arguments in call of ExceptionListener::logException() 2016-04-14 11:51:32 +02:00
Intl Merge branch '2.3' into 2.7 2016-03-22 09:55:46 +01:00
Locale Merge branch '2.3' into 2.7 2016-03-04 08:52:28 +01:00
OptionsResolver Merge branch '2.3' into 2.7 2016-03-04 08:52:28 +01:00
Process [Process] Consistently use getProcess() in tests 2016-04-12 13:52:58 +02:00
PropertyAccess Merge branch '2.3' into 2.7 2016-04-20 20:45:26 +02:00
Routing Merge branch '2.3' into 2.7 2016-04-20 20:45:26 +02:00
Security Merge branch '2.3' into 2.7 2016-04-09 12:56:56 +02:00
Serializer Remove dead code 2016-04-18 20:15:00 +01:00
Stopwatch Merge branch '2.3' into 2.7 2016-03-04 08:52:28 +01:00
Templating fix mocks 2016-03-25 16:52:47 +01:00
Translation [2.7] fix mocking of some methods 2016-03-24 10:06:43 +01:00
Validator Merge branch '2.3' into 2.7 2016-04-02 09:48:01 +02:00
VarDumper Fix typo in VarDumper README 2016-04-22 14:44:08 +02:00
Yaml Merge branch '2.3' into 2.7 2016-03-04 08:52:28 +01:00