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]: Complex Resultset double unserializing #16035

Closed
ALameLlama opened this issue Aug 3, 2022 · 0 comments · Fixed by #16036
Closed

[BUG]: Complex Resultset double unserializing #16035

ALameLlama opened this issue Aug 3, 2022 · 0 comments · Fixed by #16036
Labels
bug A bug report

Comments

@ALameLlama
Copy link
Contributor

ALameLlama commented Aug 3, 2022

Describe the bug
Currently it looks like the Complex resultset is double unserializing which will throw a Phalcon Model Exception "Invalid serialization data" on Complex.zep:421 and noticed it while trying to get cached results.

To Reproduce
Steps to reproduce the behavior:

$query = new Query($sqlQuery, \Phalcon\Di\Di::getDefault());

$query->cache([
    key' => 'key',
]);

$query->execute()

Details

  • Phalcon version: 5.0.0RC4
  • PHP Version: 7.4.30
  • Operating System: Ubuntu 20.04.4
  • Installation type: Any
  • Zephir version (if any): NA
  • Server: Apache
@ALameLlama ALameLlama added bug A bug report status: unverified Unverified labels Aug 3, 2022
@Jeckerson Jeckerson linked a pull request Oct 14, 2022 that will close this issue
5 tasks
@Jeckerson Jeckerson removed the status: unverified Unverified label Oct 14, 2022
@Jeckerson Jeckerson moved this to Backlog in Phalcon v5 Oct 14, 2022
Repository owner moved this from Backlog to Implemented in Phalcon v5 Oct 14, 2022
@niden niden moved this from Implemented to Released in Phalcon v5 Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug report
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants