Bug 261084

Summary: Add a text delimiter option to the CSV importer plugin
Product: [Applications] kmymoney Reporter: Cristian Oneț <onet.cristian>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: wishlist CC: agander93
Priority: NOR    
Version: SVN   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Cristian Oneț 2010-12-23 17:27:27 UTC
Version:           SVN trunk (using KDE 4.5.4) 
OS:                Linux

I have some CSV statements in which the detail field contains newline characters (the detail is multilined). In open office I can handle importing the CSV by using the Text delimiter option (" in my case). It would be nice to have it also in the CSV importer plugin.

Reproducible: Always

Steps to Reproduce:
try to import a filed like "bla bla
more bla bla"

Actual Results:  
you can't

Expected Results:  
the field should be imported with the newline character in case of the memo and stripped of the newline in case of a payee
Comment 1 allan 2010-12-24 01:37:59 UTC
(In reply to comment #0)
> Version:           SVN trunk (using KDE 4.5.4) 
> OS:                Linux
> 
> I have some CSV statements in which the detail field contains newline
> characters (the detail is multilined). In open office I can handle importing
> the CSV by using the Text delimiter option (" in my case). It would be nice to
> have it also in the CSV importer plugin.
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> try to import a filed like "bla bla
> more bla bla"
> 
> Actual Results:  
> you can't
> 
> Expected Results:  
> the field should be imported with the newline character in case of the memo and
> stripped of the newline in case of a payee

Shame that I've used readline(). :(

It would help for test purposes, if you could let me have (offline) a specimen file.  Presumably, the usual delimiters still apply?
Comment 2 allan 2010-12-30 21:29:20 UTC
(In reply to comment #0)
> Version:           SVN trunk (using KDE 4.5.4) 
> OS:                Linux
> 
> I have some CSV statements in which the detail field contains newline
> characters (the detail is multilined). In open office I can handle importing
> the CSV by using the Text delimiter option (" in my case). It would be nice to
> have it also in the CSV importer plugin.
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> try to import a filed like "bla bla
> more bla bla"
> 
> Actual Results:  
> you can't
> 
> Expected Results:  
> the field should be imported with the newline character in case of the memo and
> stripped of the newline in case of a payee

Included as part of the update posted to reviewboard.
Comment 3 Cristian Oneț 2011-01-04 20:46:58 UTC
Commited in revision 1211724