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

[BUG]: AbstractSerializer isSuccess never getting reset to true #16041

Merged
merged 3 commits into from
Aug 5, 2022
Merged

[BUG]: AbstractSerializer isSuccess never getting reset to true #16041

merged 3 commits into from
Aug 5, 2022

Conversation

ALameLlama
Copy link
Contributor

@ALameLlama ALameLlama commented Aug 4, 2022

Hello!

In raising this pull request, I confirm the following:

  • I have read and understood the Contributing Guidelines
  • I have checked that another pull request for this purpose does not exist
  • I wrote some tests for this PR
  • I have updated the relevant CHANGELOG
  • I have created a PR for the documentation about this change

Small description of change:
Since AbstractSerializer isSuccess is initiated with the class and is set as true and is only is updated to false, if it fails to unserialize one bit of data the rest will also return isSuccess as false but getData will return valid data.

Thanks

@niden niden merged commit 07ba9ab into phalcon:5.0.x Aug 5, 2022
@niden
Copy link
Sponsor Member

niden commented Aug 5, 2022

Thank you @LlamaDuckGoose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants