Bug 273669

Summary: Investment Transaction warning messages
Product: [Applications] kmymoney Reporter: allan <agander93>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version First Reported In: SVN   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description allan 2011-05-19 21:06:13 UTC
Version:           SVN trunk (using KDE 4.6.0) 
OS:                Linux

I've noticed that several messages appear on the console when a
'Reinvest dividend' action is selected.

Unknown QLabel named 'fee-label'
Unknown QLabel named 'interest-label'
Unknown QLabel named 'shares-label'
Unknown QLabel named 'price-label'
Unknown QLabel named 'total-label'

I think they emanate from InvestTransactionEditor::slotUpdateActivity.
I've not noticed them previously, but possibly that's because I normally would not be launching from console when updating investments.

In fact similar messages occur when any investment type is selected from the combobox, just with differing content.

I've confirmed that the same behaviour exists on a different, Ubuntu system, which has KMM v 4.5.2.

I did a little debugging. The first time InvestTransactionEditor::slotUpdateActivity is called, on creating a
new investment transaction, the labels are present.  Then, when I
select 'Buy', and it is entered again, the messages occur.  I haven't yet 
found the labels being deleted anywhere.


Reproducible: Didn't try

Steps to Reproduce:
Launch KMM from the console.
Open an investment in Ledger view.
Open a new transaction.
Select an investment of any type.
The messages appear.

Actual Results:  
As above.


Expected Results:  
No warning messages.
Comment 1 Cristian OneČ› 2011-05-21 21:55:07 UTC
Closed, I misspelled the keyword in the commit message, more at
http://websvn.kde.org/?view=revision&revision=1232960