Files cannot be attached to the form

Created on 23 December 2022, almost 2 years ago
Updated 25 January 2023, almost 2 years ago

Problem/Motivation

When I try to attach a file in a webform, I get an error
Exception: Serialization of 'Symfony\Component\HttpFoundation\File\UploadedFile' is not allowed in serialize() (line 497 of docroot/modules/contrib/webform/src/Entity/WebformSubmission.php).

Steps to reproduce

1.Update Drupal to version 9.5.0
2. Create a web form with a field for a file (private file mode)
3. Try to attach a file

🐛 Bug report
Status

Fixed

Version

6.1

Component

Code

Created by

🇷🇺Russia WiseMike

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024