JSON value with comma in it is being truncated on import

Created on 11 December 2024, 4 months ago

Problem/Motivation

The JSON values containing a comma (,) in them are being truncated on import when using feeds. This import is for taxonomy terms, and the field with a comma is the name. Example of one JSON item:

            {
              "Name": "Chocolate Milk, low fat",
              "Id": "7276CD7B-E247-4832-87E2-20CD5110D86C",
              "Labels": [
                "Contains Milk and Dairy Products"
              ]
            },

The resulting import:

{
  "labels": [
    "Contains Milk and Dairy Products"
  ],
  "name": "Chocolate Milk",
  "id": "7276cd7b-e247-4832-87e2-20cd5110d86c"
}

I'm not using tamper on the name.

Steps to reproduce

  1. Set up a feed type of JsonPath with Taxonomy term processor
  2. Map JSON key:value to taxonomy term fields, using a unique value on custom field
  3. Save without using any tamper
  4. Import feed
  5. See result of JSON name field containing a comma on a taxonomy term field. It will only be named with text before the comma.

Proposed resolution

Unsure. I believe the JSON is formatted properly.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States andreayaya

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

Comments & Activities

Production build 0.71.5 2024