Bug 409237

Summary: Wrong data in database splits record
Product: [Applications] kmymoney Reporter: Tony Bloomfield <tonyb.lx>
Component: databaseAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: git (master)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

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