Problem/Motivation

When importing a .csv file that has fields in it that have newlines, the import fails on those terms.

Steps to reproduce

Create a .csv file that has a field values like:

0,name,description
test_term,Test Term,"This is
a multiline
description"

Proposed resolution

The problem is that the PHP function str_getcsv() actually doesn't handle this correctly. However, fget_csv() does, so change to using that function in 2 places.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

darrylri created an issue. See original summary.

darrylri’s picture

Status: Active » Needs review

  • golubovicm committed 978f386 on 8.x-1.x authored by darrylri
    Issue #3274117 by darrylri, golubovicm: Doesn't correctly import rows...
golubovicm’s picture

Status: Needs review » Fixed

Thank you @darrylri for reporting, reviewing, and providing the patch!
This improvement will be available in the next official release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.