Files cannot be attached to the form

Created on 23 December 2022, over 1 year ago
Updated 25 January 2023, over 1 year 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.69.0 2024