Bug 241766

Summary: KMM crashes when deleting a payee
Product: [Applications] kmymoney Reporter: Jack <ostroffjh>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: backtrace from kcrash
Patch to force an update of the register after clear()

Description Jack 2010-06-14 21:35:37 UTC
Created attachment 48007 [details]
backtrace from kcrash

Version:           unspecified (using KDE 4.3.5) 
OS:                Linux

Using the sample data file (RobsSampleKMyMoneyDataFile.kmy) if I go to the payee view and delete the payee "putnam" assigning its transactions to "Putnam" KMM consistently crashes.

Reproducible: Always

Steps to Reproduce:
open sample file
select payee view
right click "putnam" and select delete
choose "Putnam" to assign transactions

Actual Results:  
KMM crashes.

Expected Results:  
payee deleted, with transactions reassigned to chosen payee

Not related to the payees being almost the same.  Same crash if I create a new payee XXXX and assign the transactions to it.
Comment 1 Jack 2010-06-14 21:37:03 UTC
I discovered this in 3.98.0 but it's the same in 3.98.2-svn1137945
Comment 2 Vincent Ordy 2010-06-17 02:47:02 UTC
Created attachment 48068 [details]
Patch to force an update of the register after clear()
Comment 3 Cristian OneČ› 2010-06-18 07:59:58 UTC
SVN commit 1139294 by conet:

BUG: 241766
Fixed a crash after deleting a payee (patch by Vincent Ordy).

 M  +1 -0      register.cpp  


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