Skip to content
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

[Form] only use PropertyPath if not already callable #15561

Merged
merged 1 commit into from
Aug 22, 2015

Conversation

Tobion
Copy link
Contributor

@Tobion Tobion commented Aug 15, 2015

Q A
Bug fix? yes
New feature? no
BC breaks? could be in edge cases
Deprecations? no
Tests pass? yes
Fixed tickets #15542
License MIT
Doc PR -

Currently it uses a PropertyPath even when the string is already a callable. But the callable string should have higher priority since that is also the one documented in ChoiceListFactoryInterface.

@Tobion
Copy link
Contributor Author

Tobion commented Aug 21, 2015

ping @symfony/deciders

@fabpot
Copy link
Member

fabpot commented Aug 22, 2015

Thank you @Tobion.

@fabpot fabpot merged commit 470b140 into symfony:2.7 Aug 22, 2015
fabpot added a commit that referenced this pull request Aug 22, 2015
This PR was merged into the 2.7 branch.

Discussion
----------

[Form] only use PropertyPath if not already callable

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | could be in edge cases
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #15542
| License       | MIT
| Doc PR        | -

Currently it uses a PropertyPath even when the string is already a callable. But the callable string should have higher priority since that is also the one documented in ChoiceListFactoryInterface.

Commits
-------

470b140 [Form] only use PropertyPath if not already callable
@Tobion Tobion deleted the form-choice-callable-vs-string branch August 22, 2015 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants