#91196Exception for FileUpload field in multi-step forms
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.
Reviews 5
- 9.5 68341[BUGFIX] Fix serialization of FileReference objects
- 10.4 64975[BUGFIX] Fix serialization of FileReference objects
- main 64841[BUGFIX] Fix serialization of FileReference objects
- 10.4 64839[BUGFIX] Avoid EventDispatcher from being serialized
- main 64838[BUGFIX] Avoid EventDispatcher from being serialized