Closed nie7321 closed 3 years ago
The break looks like it is being caused by this new bit of code: https://github.com/docusign/docusign-php-client/blob/master/src/Client/ApiClient.php#L326
I think the intention was the serialized data would be unpacked into something more meaningful (determined by the HTTP response code) by whichever code is calling callApi
?
But I don't think ObjectSerializer#deserialize()
actually handles PHP-serialized objects?
This isn't really a question. This is an undocumented breaking change.
Thank you for raising this issue. I have filed internal report DCM-3466. I will also ask for a new regression test to be added.
Hi @nie7321 , we have fixed this for the forthcoming 5.5 release. Currently thats the 5.5.0-RC release -- RC means Release Candidate.
To install it: composer require docusign/esign-client:v5.5.0-rc
Please validate from your side and let us know if you still face the issue.
Fixed in v5.5. Please re-open if this is still an issue. Thank you
In v3.0.1, calling
ApiException#getResponseObject()
would return anErrorDetails
object:In the v4.0.0 release, this now returns a serialized PHP object as a string:
The breaking changes section in the change notes do not mention this change, so I have to ask if it was intended or if this is a bug?