CSV upload not working when Tablefield is inside a Paragraph

Created on 26 October 2023, 7 months ago

Problem/Motivation

When the Tablefield is within a Paragraph, the CSV upload does not work.
Functionality is working fine when Tablefield is a regular field (and also within a Paragraph when the table data is entered manually rather than by CSV upload).

Steps to reproduce

Create a Paragraph with a Tablefield. Include the Paragraph on the content type. Add content, add Paragraph, and try to upload data to Tablefield by the upload CSV method.
In "Recent log messages", the following PHP error shows up:
Exception: Serialization of 'Symfony\Component\HttpFoundation\File\UploadedFile' is not allowed in serialize() (line 14 of C:\wamp64\www\REPOS\MySite\httpdocs\core\lib\Drupal\Component\Serialization\PhpSerialize.php).

Beyond my skill level, but happy to try stuff to fix this if anyone can guide me!

πŸ› Bug report
Status

Active

Version

2.4

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain jonodunnett

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

Comments & Activities

Production build 0.69.0 2024