lowercase header values to be consistent with FeedsCSVParser

Created on 12 February 2014, over 10 years ago
Updated 6 November 2023, 8 months ago

Problem/Motivation
Feeds xls supports reading from CSV files, but I get different behaviour than the standard FeedsCSVParser.

Code examination revealed that the column names (from the header row) where not being handled in the same manner as FeedsCSVParser. FeedsCSVParser converts all header row values to lower case.

To reproduce, create a CSV file that has a mixture of uppercase and lowercase header row values.

Proposed resolution

Change the parseHeader function to apply a trim and a drupal__strtolower to each column header value in a manner similar to the corresponding routine in FeedsCSVParser.

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

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.

No activities found.

Production build 0.69.0 2024