Bug 387781

Summary: Unable to reconcile, KMyMoney segfaults
Product: [Applications] kmymoney Reporter: Alexandre <alexandref75>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: git (master)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Patch for the reconcile segfault

Description Alexandre 2017-12-10 19:03:06 UTC
Created attachment 109300 [details]
Patch for the reconcile segfault

Compiling from master (git commit 025388d54a2642435da00fa9949b9650da1ed75a).
Kmymoney segfaults when entering "Reconcile". 
The ui is not being setup so the field d->ui->m_statementInfoPageCheckings is null and the line d->ui->m_statementInfoPageCheckings->ui->m_enterInformationLabel->setText(QString("<qt>") + i18n("Please enter the following fields with the information as you find them on your statement. Make sure to enter all values in <b>%1</b>.", currency.name()) + QString("</qt>")); sefaults.
The attached patch seems to fix it.
Comment 1 Thomas Baumgart 2017-12-11 08:00:07 UTC
Git commit 8cf14efc21e4b31eab710d76a4e4dc686ac3ab7f by Thomas Baumgart.
Committed on 11/12/2017 at 07:59.
Pushed by tbaumgart into branch 'master'.

Add missing UI initialization

Thanks to Alexandre for reporting and providing a hint how to fix it.

M  +1    -0    kmymoney/wizards/endingbalancedlg/kendingbalancedlg.cpp

https://commits.kde.org/kmymoney/8cf14efc21e4b31eab710d76a4e4dc686ac3ab7f