[Kmymoney-devel] [Bug 279410] New: Csv Importer plugin doesn't detect badly formatted date

allan agander93 at gmail.com
Thu Aug 4 23:05:52 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=279410

           Summary: Csv Importer plugin doesn't detect badly formatted
                    date
           Product: kmymoney4
           Version: SVN trunk
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kmymoney-devel at kde.org
        ReportedBy: agander93 at gmail.com


Version:           SVN trunk (using KDE 4.6.0) 
OS:                Linux

Part of the date validation detects an embedded space, treats it as a date
field separator and replaces it with a '/' character.  If the actual date is
prefixed or suffixed with a space, that too is converted to a separator and an
invalid date is detected and flagged, causing the import to fail.

Reproducible: Always

Steps to Reproduce:
Import a csv file containing the date "26/06/11 " .  The plugin replaces the
trailing ' ' character with a '/', producing a date "26/06/11/".  This
generates four sub-fields, to which the plugin objects.

Actual Results:  
As above.

Expected Results:  
The output date should be ""26/06/2011" - no trailing '/'.

Is there time for this to be committed prior to next release?  It's a single
(or half-) line patch, to trim the text date during checking/conversion.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list