Project

General

Profile

Actions

Bug #91364

open

Extbase/CachingFramework - Serialization on 'Closure' is not allowed

Added by Carsten Hülsmann almost 4 years ago. Updated 12 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2020-05-12
Due date:
% Done:

0%

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

Description

Hi,

I recently updated an Instance from 9.5 to 10.4.1.

Since then I receive the Error (see attached screen), in our showProduct action.
This seems to be related to the Domain Model Object (cause if this is not part of the $items array the serialization works).

I already tried to handle this via a json_encode but with this I'll loose all relations (and especially this makes it required to cache the product object in cache).

I also tried to store the whole view in the cache which leads to the exact same error.

Important steps that happened:
- Updated whole Controller to use Symfony DI
- Updated Extension Config (registerPlugin/Module)

Any suggestion or hint would help.


Files

Models.zip (5.74 KB) Models.zip Models Carsten Hülsmann, 2020-06-13 17:15

Related issues 4 (2 open2 closed)

Related to TYPO3 Core - Bug #91196: Exception for FileUpload field in multi-step formsClosed2020-04-25

Actions
Related to TYPO3 Core - Bug #91387: Relax constraints on serializing objectsClosedOliver Hader2020-05-13

Actions
Related to TYPO3 Core - Bug #91664: TYPO3 9.5 "Cannot unserialize TYPO3\CMS\Core\Locking\FileLockStrategy" during cache readingNew2020-06-17

Actions
Related to TYPO3 Core - Bug #95899: Try to cache an extbase queryResult leads to "Serialization of 'Closure' is not allowed"New2021-11-07

Actions
Actions

Also available in: Atom PDF