Only the first value of multiple values is exported

Created on 25 July 2023, over 1 year ago
Updated 3 November 2023, about 1 year ago

Problem/Motivation

When a content type is exported: If the field selected has multiple values, only the first value is exported.
For example, a field which references a group of taxonomy terms and allows an unlimited number of terms to be selected.
When exported, only the first term selected will be in the row's field column.

Steps to reproduce

1 Create a Content Type.
2 Create a test field for the content type--A simple text list with the values: 1|1, 2|2, 3|3, etc.
3 Allow unlimited values to be selected on the test field.
4 Create a new node for the Content type.
5 Select multiple values in the test field for this new node. Save.
6 Export the content type to csv with nid and test field selected.
7 The resulting row of content in the csv file will only have a single value in the test field.

Proposed resolution

All values should be exported, perhaps separated with a pipe: "Term1|Term2|Etc".

๐Ÿ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States jim_b

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

Comments & Activities

Production build 0.71.5 2024