Bug 261084 - Add a text delimiter option to the CSV importer plugin
Summary: Add a text delimiter option to the CSV importer plugin
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: SVN
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-23 17:27 UTC by Cristian Oneț
Modified: 2011-01-04 20:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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