[Kmymoney-devel] [Bug 274598] Unable to add account: Account has invalid type

allan agander93 at gmail.com
Wed Jun 1 12:14:21 CEST 2011


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


allan <agander93 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from allan <agander93 gmail com>  2011-06-01 12:14:20 ---
SVN commit 1234489 by allananderson:

When trying to import a category list, each entry produces the message 'Unable
to add account: Account has invalid type'.  The only option given is 'OK',
which produces the same message for the next category.
The problem lies in MyMoneyQifReader::processCategoryEntry.  An
"!extractLine('I').isEmpty()" (or 'E') test is performed.  If, as is likely,
the line 
contains only the 'I' or 'E', the test will return empty and no accounts get
set up.

The test is modified to confirm if either line is detected, empty or otherwise,
and then set up accordingly.
BUG:274598
REVIEW:6694


 M  +5 -2      mymoneyqifreader.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1234489

-- 
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