Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[HttpClient] throw DecodingExceptionInterface when toArray() fails because of content-type error#32065
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…cause of content-type error
chalasr commentedJun 17, 2019
This changes the public API and involve code changes in userland though (and could be worth a CHANGELOG entry), which hints that this is a new feature to me. |
nicolas-grekas commentedJun 17, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
for experimental components, we can bypass this rule, because here this is also a BC break, and we should close any such issues asap. That's why I added "bug fix at the contracts level" in the description. |
fabpot commentedJun 17, 2019
Thank you@nicolas-grekas. |
…() fails because of content-type error (nicolas-grekas)This PR was merged into the 4.3 branch.Discussion----------[HttpClient] throw DecodingExceptionInterface when toArray() fails because of content-type error| Q | A| ------------- | ---| Branch? | 4.3| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#31913| License | MIT| Doc PR | -As spotted in the linked issue, we are missing this type of exception. It's a bug at the contracts level.Commits-------3f16741 [HttpClient] throw DecodingExceptionInterface when toArray() fails because of content-type error
As spotted in the linked issue, we are missing this type of exception. It's a bug at the contracts level.