Bug 261825 - Kmymoney is unable to handle shares with values over 999,999
Summary: Kmymoney is unable to handle shares with values over 999,999
Status: RESOLVED DUPLICATE of bug 245214
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 3.98.x
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-01 23:09 UTC by Degand Nicolas
Modified: 2011-05-05 23:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
A file affected by the issue (138.86 KB, application/x-compressed-tar)
2011-04-03 19:12 UTC, Degand Nicolas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Degand Nicolas 2011-01-01 23:09:29 UTC
Version:           3.98.x (using KDE 4.4.6) 
OS:                Linux

Hi, if I try to update a share which has a value over 999,999, it does not work. It uses the previous value.


Reproducible: Always



Expected Results:  
Update a share with a value higher than 999,999 € (have not tested with automatic update and other currencies)

OS: Linux (x86_64) release 2.6.32-5-amd64
Compiler: cc
Comment 1 Thomas Baumgart 2011-01-02 10:23:56 UTC
Works for me in 4.5.2.  I manually entered a price of 10.000,000 (that is ten thousand).  Please consider updating to a newer revision as this might have been fixed in the meantime.
Comment 2 Degand Nicolas 2011-01-02 11:35:49 UTC
Le dimanche 02 janvier 2011, Thomas Baumgart a écrit :
> https://bugs.kde.org/show_bug.cgi?id=261825
> 
> 
> 
> 
> 
> --- Comment #1 from Thomas Baumgart <ipwizard users sourceforge net> 
> 2011-01-02 10:23:56 --- Works for me in 4.5.2.  I manually entered a price
> of 10.000,000 (that is ten thousand).  Please consider updating to a newer
> revision as this might have been fixed in the meantime.

It still does not work in 4.5.0 (the one available in Debian Experimental). 
Will check again after next Debian release.
Comment 3 Degand Nicolas 2011-02-05 14:19:26 UTC
Updated to Kmymoney 4.5.2 and I can confirm I still have this bug.
Comment 4 allan 2011-02-05 14:52:18 UTC
(In reply to comment #3)
> Updated to Kmymoney 4.5.2 and I can confirm I still have this bug.

Just to be clear, when you say you can't update.... do you mean online price update?

It's just that Thomas said he had manually entered the price, but didn't mention updating.

Allan
Comment 5 Degand Nicolas 2011-02-05 16:20:53 UTC
No, I cannot MANUALLY update. Did not try automatic update. I tried to enter a price for a share which did not yet have one and I have the same problem.
Comment 6 Degand Nicolas 2011-02-20 17:14:54 UTC
Updated to 4.5.3. I still have this bug.
Comment 7 Degand Nicolas 2011-04-03 19:12:03 UTC
Created attachment 58547 [details]
A file affected by the issue

I anonymised my save (by the way, the anonymisation algorithm fails to anonymise the symbol of the shares). You can test the bug by modifying the value of the share A000215 from 11.60 € to 1000 €.
Comment 8 Thomas Baumgart 2011-04-03 20:44:07 UTC
I loaded the file, started 'Tools/Prices', entered '215' in the search field and selected the sole entry now showing 11,60. I clicked 'Edit', saw the current setting of 11,60 and changed it to 1000. Pressing 'OK' shows the new setting of 1000 in the dialog. I pressed 'Close' and restarted the whole thing. The prices dialog still shows 1000. Where is the problem?
Comment 9 Degand Nicolas 2011-04-03 22:17:11 UTC
It does not on my computer. Could it be related to the KDE version I use (KDE 
4.4.5) ? I tried to switch the locale to no avail.

Le dimanche 03 avril 2011, Thomas Baumgart a écrit :
> https://bugs.kde.org/show_bug.cgi?id=261825
> 
> 
> 
> 
> 
> --- Comment #8 from Thomas Baumgart <ipwizard users sourceforge net> 
> 2011-04-03 20:44:07 --- I loaded the file, started 'Tools/Prices', entered
> '215' in the search field and selected the sole entry now showing 11,60. I
> clicked 'Edit', saw the current setting of 11,60 and changed it to 1000.
> Pressing 'OK' shows the new setting of 1000 in the dialog. I pressed
> 'Close' and restarted the whole thing. The prices dialog still shows 1000.
> Where is the problem?
Comment 10 Cristian Oneț 2011-05-05 23:03:15 UTC
I could only make it overflow using 1000000 as a price (the value could depend on the precision from settings) but anyway this shuold be fixed by using libalkimia's AlkValue so I'm marking it as duplicate.

*** This bug has been marked as a duplicate of bug 245214 ***