Catch TamperException to prevent import from crashing

Created on 3 July 2018, over 6 years ago
Updated 12 February 2024, 10 months ago

Hello

I get the following error when I try import content into a multi-value text field using feeds-tamper.

I am trying to import data into a multi-value field.

Title One;
Title Two

Fetcher: Upload
Parser: CSV
Processor: Node

Fetcher Settings: txt csv tsv xml opml
Parser Settings: default delimiter ,

Feeds Tamper Plugin: Explode
String Seperator: ;

An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /batch?id=327&op=do_nojs&op=do StatusText: 500 Service unavailable (with message) ResponseText: The website encountered an unexpected error. Please try again later.

Type: php
Location: /batch?_format=json&id=327&op=do&op=do_nojs
Referrer: batch?id=327&op=start
Drupal\tamper\Exception\TamperException: Input should be an array. in Drupal\tamper\Plugin\Tamper\Implode->tamper() (line 63 of ……./modules/tamper/src/Plugin/Tamper/Implode.php).

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇺🇸United States Bwolf

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