#103040Cache an extbase queryResult leads to "Serialization of 'Closure' is not allowed"
Description
$this->cache->set('test', $this->repository->findAll());
will get the Serialization of 'Closure' is not allowed exception.
After some debugging, I found it was caused by the $getService property in /typo3temp/var/cache/code/di/DependencyInjectionContainer_XXXXXXXXXX.php, which was a auto-generated file.
BTW, This bug may relate to Bug #95899.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.