[Kmymoney-devel] [kmymoney4] [Bug 327806] New: Investment transactions dropped without notification during import.

allan agander93 at gmail.com
Tue Nov 19 11:38:21 UTC 2013


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

            Bug ID: 327806
           Summary: Investment transactions dropped without notification
                    during import.
    Classification: Unclassified
           Product: kmymoney4
           Version: git master
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: agander93 at gmail.com

I was importing investment transactions, but the statement stats showed none
had been imported, although no error messages appeared.   The error occurred
because I imported into the wrong account, which did not include that
particular security.
There is the following at line 649  in mymoneystatementreader.cpp -
"else {
            // This should be rare.  A statement should have a security entry
for any
            // of the securities referred to in the transactions.  The only way
to get
            // here is if that's NOT the case.
            KMessageBox::information(0, i18n("This investment account does not
contain the \"%1\" security.  Transactions involving this security will be
ignored.", statementTransactionUnderImport.m_strSecurity), i18n("Security not
found"),
QString("MissingSecurity%1").arg(statementTransactionUnderImport.m_strSecurity.trimmed()));
            return;"

That code is executed but the message box does not appear.
This was during a CSV import, but I think I've seen the same on a QIF import
also.


Reproducible: Always

Steps to Reproduce:
1. Import a file containing security statements.
2.When prompted, select an investment account that does not include the
security in question.
3.The import finishes without that message box, and the log shows the progress
without any indication of error.
Actual Results:  
As above

Expected Results:  
The error should produce the message box to inform the user of the error.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list