Revision 1234489

Go back to digest for 5th June 2011

Bug Fixes in Office

Allan Anderson committed changes in /trunk/extragear/office/kmymoney/kmymoney/converter/mymoneyqifreader.cpp:

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.


File Changes

Modified 1 files
  • /trunk/extragear/office/kmymoney/kmymoney/converter/mymoneyqifreader.cpp
1 files changed in total