Bug 273669 - Investment Transaction warning messages
Summary: Investment Transaction warning messages
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: SVN
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-19 21:06 UTC by allan
Modified: 2011-05-21 21:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

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