Support Linefeed (only) as record separator

pancapangrawit - June 17, 2009 - 10:05
Project:Node import
Version:6.x-1.0-rc4
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I tried to an import Ubercart product into Drupal 6.12, and things were going reasonably fine. It basically works with the known issue of not getting taxonomy terms in and a few other little things.
Things went strange when I tried to import several record in one go, and that seems to have to do with the fact that I am on OSX, where a new line is encoded as linefeed only. Interestingly the first line containing the field-names is separated correctly, but any linefeed after that is ignored (so all records/data after the first record are entered into the last field of the first record - which creates an error).
When I saved my CSV-file with a text-editor that can create Windows line-breaks (linefeed+carriage return) things worked as expected and the records were recognized/separated correctly.
I tried using another record separator (;) and entered it manually into my file, but that didn't help.
I also tried writing "Linefeed" into the "other-separator" field on the data-structure-definition pane, and that didn't work either.

Would be nice to have that fixed for non-Windowsers... :)
Best
Rainer

#1

emdalton - September 17, 2009 - 23:45

I have the same issue. Hopefully this can be addressed in the next release candidate (whenever that happens).

 
 

Drupal is a registered trademark of Dries Buytaert.