cphalcon
cphalcon copied to clipboard
[BUG]: Complex Resultset double unserializing
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