Bug 241766 - KMM crashes when deleting a payee
Summary: KMM crashes when deleting a payee
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-14 21:35 UTC by Jack
Modified: 2010-06-18 07:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace from kcrash (4.17 KB, text/plain)
2010-06-14 21:35 UTC, Jack
Details
Patch to force an update of the register after clear() (276 bytes, patch)
2010-06-17 02:47 UTC, Vincent Ordy
Details

Note You need to log in before you can comment on or make changes to this bug.
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