Skip to content

Conversation

@nicolas-grekas
Copy link
Member

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.

@chalasr
Copy link
Member

chalasr commented Jun 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
Copy link
Member Author

nicolas-grekas commented Jun 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.

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
Copy link
Member

fabpot commented Jun 17, 2019

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 3f16741 into symfony:4.3 Jun 17, 2019
fabpot added a commit that referenced this pull request Jun 17, 2019
…() 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
@nicolas-grekas nicolas-grekas deleted the hc-decoding branch June 18, 2019 07:23
@fabpot fabpot mentioned this pull request Jun 26, 2019
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.

7 participants