Project

General

Profile

Actions

Bug #103040

open

Cache an extbase queryResult leads to "Serialization of 'Closure' is not allowed"

Added by Bill Dagou 10 months ago. Updated 6 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2024-02-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Files

test.zip (8.78 KB) test.zip Bill Dagou, 2024-02-05 02:56
Actions

Also available in: Atom PDF