Project

General

Profile

Actions

Bug #91196

closed

Exception for FileUpload field in multi-step forms

Added by Sebastian Klein almost 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2020-04-25
Due date:
% Done:

100%

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

Description

This issue occurs in TYPO3 10.4.0:

If you configure a multi-step form (with second 'Step' or 'Summary step') and add a field of type FileUpload, the following PHP exception occurs when you call the next step:

(1/1) Exception
Serialization of 'Closure' is not allowed

typo3_src-10.4.0/typo3/sysext/form/Classes/ViewHelpers/FormViewHelper.php line 49

49       $serializedFormState = base64_encode(serialize($this->arguments['object']->getFormState()));

If your form only has one page/step, the file upload works as expected.


Files

fail.png (480 KB) fail.png Oliver Hader, 2020-05-06 16:18

Related issues 2 (1 open1 closed)

Related to TYPO3 Core - Bug #91364: Extbase/CachingFramework - Serialization on 'Closure' is not allowedNew2020-05-12

Actions
Related to TYPO3 Core - Bug #91398: Serialization of ObjectManager is brokenClosedBenjamin Franzke2020-05-14

Actions
Actions

Also available in: Atom PDF