White screen when importing CSV with double curly quotes in content

Created on 17 October 2023, about 1 year ago

Thank you for the module, unfortunately I found a little bug. Not sure but it might be related to this issue https://www.drupal.org/project/taxonomy_import/issues/3344249 🐛 Error in strings with UTF-8 character format encoding Needs review

Problem/Motivation

White screen occurs when importing CSV file with a field containing double curly quotes (in my case in the description field)

Error:
InvalidArgumentException: Field source is unknown. in Drupal\Core\Entity\ContentEntityBase->getTranslatedField() (line 587 of /var/www/html/web/core/lib/Drupal/Core/Entity/ContentEntityBase.php).

Steps to reproduce

Import CSV file with field containing double curly quotes.

Environment

Ubuntu 22.04, DDEV with PHP 8.0.21, D9.5.11

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇪🇸Spain e.calverley

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

Comments & Activities

Production build 0.71.5 2024