Indentation in value will prevent it from getting exported

Created on 17 March 2017, almost 8 years ago
Updated 17 November 2023, about 1 year ago

Exporting a long text field, it is possible to have indentation in the value.

Lorem Ipsum dolor sit amet:
                                        Lorem ipsum

Unfortunately CsvEncoder->arrayDepth() is using print_r and indentation to determine the depth of an value array. Above string returns a depth of 6 and therefore output for the field value is removed in CsvEncoder->flattenCell().

My approach is to determine reference by setting a test key, but if there are other ideas...

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany volkerk

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