[Kmymoney-devel] [Bug 285310] New: Uncaught exception in mymoneyseqaccessmgr.cpp:820

Adrian Schlatter schlatter at phys.ethz.ch
Sun Oct 30 12:02:37 UTC 2011


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

           Summary: Uncaught exception in mymoneyseqaccessmgr.cpp:820
           Product: kmymoney4
           Version: 4.5.3
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kmymoney-devel at kde.org
        ReportedBy: schlatter at phys.ethz.ch


Created an attachment (id=65043)
 --> (http://bugs.kde.org/attachment.cgi?id=65043)
Anonymous file to reproduce bug, 2 screenshots with uncaught exceptions.

Version:           4.5.3 (using KDE 4.7.2) 
OS:                Linux

Certain transactions lead to an uncaught exception when trying to delete them.
In some cases this happens only when two transaction are deleted simultaneously
but does not happen when each is deleted seperately. In the later case,
deletion of one entry leads to removal of both entries.

Context: This bug (these bugs?) occur in a file that was built over several
years (2002-2011) and contains a couple of 1000 transactions. I have stripped
it of as many transactions, accounts etc. as possible to help narrow down the
problem.

In the original (non-anonymized) file, the two transactions look strange:
Deposits are zero, From, Category, and Memo fields are all empty strings.

Reproducible: Always

Steps to Reproduce:
Part I:
Open UncaughtException.anon.xml
Open Accounts:Asset:A000108:A000003
Select both transactions
right-click->delete
Confirm to delete reconciled splits
Confirm delete
Confirm error message
---------------
Part II:
Select 1st transaction seperately
right-click delete
Confirm twice
------------
Part III:
Open Accounts:A000108:A000002
right-click on "new" transaction => delete
Confirm error message

Actual Results:  
Part I:
Deletion results in an uncaught exception (screenshot1.png)
Part II:
Deletion of 1st entry results in removal of both entries
Part III:
Deletion of "new" entry results in uncaught exception (screenshot2.png)

Expected Results:  
No uncaught exceptions.
Deletion of transaction 1 results in deletion of transaction 1 only, not
transactions 1 as well as 2
The "new" transaction should not be deleteable at all.

OS: Linux (i686) release 3.0.0-12-generic-pae
Compiler: gcc
Remark: As soon as the file UncaughtException.anon.xml is opened, it is
immediately marked as [modified] in title bar.

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