-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[2.7] [DoctrineBridge] [Form] fix choice_value in EntityType #17694
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
Feb 4, 2016
Q | A |
---|---|
Bug fix? | yes |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | #17693, #17271, #13964 |
License | MIT |
Doc PR | symfony/symfony-docs#6260 |
Before :
After :
|
Please revert the indentation changes... |
@nicolas-grekas oupssss |
Done |
Thanks for that PR! Looks good to me. Status: reviewed |
thanks @webmozart, just added #13964 as fixed though. |
@fabpot @webmozart. Tests in 2.8 need renaming Also I suggest to use a constant for the fqnc of |
@HeahDude I would create a separate PR and rebase this one once that is merged. |
Updated description with link to the doc PR and tests are ready for 2.8 with #17699. ping @symfony/deciders |
and add some tests
…oice_attr` to `EntityType` (HeahDude) This PR was merged into the 2.7 branch. Discussion ---------- add missing options `choice_value`, `choice_name` and `choice_attr` to `EntityType` | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no (& yes symfony/symfony#17694) | Applies to | 2.7+ | Fixed tickets | #6259 Commits ------- 9785f08 add missing options `choice_value`, `choice_name` and `choice_attr` to `EntityType`
👍 |
Thank you @HeahDude. |
…pe (HeahDude) This PR was merged into the 2.7 branch. Discussion ---------- [2.7] [DoctrineBridge] [Form] fix choice_value in EntityType | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #17693, #17271, #13964 | License | MIT | Doc PR | symfony/symfony-docs#6260 Commits ------- 2336d5c fix choice_value option in EntityType and add some tests
…h FQCN (HeahDude) This PR was merged into the 2.8 branch. Discussion ---------- [2.8] [DoctrineBridge] fix tests added in EntityType with FQCN | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | needs #17694 | Fixed tickets | - | License | MIT | Doc PR | - - [x] Wait for #17694 to be merged in 2.8 Commits ------- beb70d9 fix FQCN in tests added by #17694
* 2.8: [DependencyInjection] fix dumped YAML snytax Remove InputOption::VALUE_REQUIRED mode from $default parameter description as InputOption::setDefault() throws an exception only when called in InputOption::VALUE_NONE mode. In practice the $default value could still be accessed in InputOption::VALUE_REQUIRED mode in case InputOption was never set but accessed from InputDefinition::getOption() method [Form] Fixed violation mapping if multiple forms are using the same (or part of the same) property path fix FQCN in tests added by #17694 Fix locale and written standard inconsistencies for Norwegian translations [Form] [Validator] Fix locale inconsistencies in Norwegian translations [TwigBridge] Symfony 3.1 forward compatibility fixed CS [DependencyInjection] fixed exceptions thrown by get method of ContainerBuilder [Yaml] properly parse lists in object maps [FrameworkBundle] Remove unused private method. [Form] remove useless code in ResizeFormListener [Config] Fix EnumNodeDefinition to allow building enum nodes with one element fix choice_value option in EntityType and add some tests
* 3.0: [DependencyInjection] fix dumped YAML snytax Remove InputOption::VALUE_REQUIRED mode from $default parameter description as InputOption::setDefault() throws an exception only when called in InputOption::VALUE_NONE mode. In practice the $default value could still be accessed in InputOption::VALUE_REQUIRED mode in case InputOption was never set but accessed from InputDefinition::getOption() method [Yaml] always restore the error handler in tests [FrameworkBundle] fix YAML syntax fix YAML syntax in functional tests config [HttpFoundation] [Session] Removed unnecessary PHP version check as minimum requirement is now 5.5.9 [Form] Fixed violation mapping if multiple forms are using the same (or part of the same) property path fix FQCN in tests added by #17694 Fix locale and written standard inconsistencies for Norwegian translations [Form] [Validator] Fix locale inconsistencies in Norwegian translations [TwigBridge] Symfony 3.1 forward compatibility fixed CS [DependencyInjection] fixed exceptions thrown by get method of ContainerBuilder [Yaml] properly parse lists in object maps [FrameworkBundle] Remove unused private method. [Form] remove useless code in ResizeFormListener [Config] Fix EnumNodeDefinition to allow building enum nodes with one element [Form] remove deprecated empty_value_in_choices fix choice_value option in EntityType and add some tests