Bug 268860 - When entering new schedule, multiple lines are output to console - "fraction == -1"
Summary: When entering new schedule, multiple lines are output to console - "fraction ...
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-03-19 01:24 UTC by allan
Modified: 2011-05-10 21:50 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-03-19 01:24:10 UTC
Version:           SVN trunk (using KDE 4.6.0) 
OS:                Linux

KMM had crashed without useful information.  Afterwards, I noticed a few screenfulls of output of "fraction == -1", and initially assumed this was likely to be related to the crash.
I then started re-inputting my work, and noticed that the lines kept appearing when entering a new schedule - deposit.  I pasted an account name into the Schedule name box, highlighted the unneeded characters and clicked to delete.  This produced multiple output lines.  In fact, left click and dragging the mouse across the data is accompanied by output.  Clicking in other boxes produced a couple or more lines.
The crash has not (yet) reappeared.  I was actually in Ledger view when the crash happened.

Reproducible: Always

Steps to Reproduce:
as above

Actual Results:  
multiple output lines

Expected Results:  
It may be the output is intentional?
Comment 1 Cristian Oneț 2011-05-10 21:50:57 UTC
Removed a useless warning which evolved into a warning from an assert. Since the situation is perfectly valid in the schedules editor where an empty MyMoneyAccount object is used until an account is selected the assertion is no longer valid and can be safely removed.

http://websvn.kde.org/?revision=1231308&view=revision