CSV upload not working when Tablefield is inside a Paragraph

Created on 26 October 2023, about 1 year ago
Updated 24 July 2024, 5 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.71.5 2024