Skip to content

[PropertyAccess] fix type error handling when writing values #28220

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

Merged

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Aug 17, 2018

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

@nicolas-grekas
Copy link
Member

Thank you @xabbuh.

@nicolas-grekas nicolas-grekas merged commit 4575451 into symfony:2.8 Aug 24, 2018
nicolas-grekas added a commit that referenced this pull request Aug 24, 2018
…es (xabbuh)

This PR was merged into the 2.8 branch.

Discussion
----------

[PropertyAccess] fix type error handling when writing values

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

Commits
-------

4575451 fix type error handling when writing values
@xabbuh xabbuh deleted the property-access-type-error-improvements branch August 24, 2018 10:00
xabbuh added a commit to opensoftwareconsulting/rich-model-forms-bundle that referenced this pull request Aug 24, 2018
After symfony/symfony#28220 had been merged
type errors were caught as expected by the PropertyAccess component.
This means that they were transformed into InvalidArgumentException
instances and were never passed as type errors to the
ArgumentTypeMismatchExceptionHandler.
xabbuh added a commit to opensoftwareconsulting/rich-model-forms-bundle that referenced this pull request Aug 24, 2018
After symfony/symfony#28220 had been merged
type errors were caught as expected by the PropertyAccess component.
This means that they were transformed into InvalidArgumentException
instances and were never passed as type errors to the
ArgumentTypeMismatchExceptionHandler.
This was referenced Aug 27, 2018
xabbuh added a commit to opensoftwareconsulting/rich-model-forms-bundle that referenced this pull request Aug 30, 2018
This PR was merged into the 0.1-dev branch.

Discussion
----------

fix failing tests

After symfony/symfony#28220 had been merged
type errors were caught as expected by the PropertyAccess component.
This means that they were transformed into InvalidArgumentException
instances and were never passed as type errors to the
ArgumentTypeMismatchExceptionHandler.

Commits
-------

d258087 fix failing tests
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.

4 participants