Bug 409237 - Wrong data in database splits record
Summary: Wrong data in database splits record
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: database (show other bugs)
Version: git (master)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-27 09:47 UTC by Tony Bloomfield
Modified: 2019-06-27 09:48 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 Tony Bloomfield 2019-06-27 09:47:59 UTC
SUMMARY
When a split is stored in a database, the sharesFormatted field contains the price rather than the share count.

STEPS TO REPRODUCE
1. Store transactions in a database.
2. Using SQL, examine the kmmSplits records, columns shares and sharesFormatted.

OBSERVED RESULT

The sharesFormatted column always contains a formatted version of the price column

EXPECTED RESULT

The columns should contain a formatted version of the shares column.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Ubuntu 19.04
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION