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: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The three parts (value, shares, price)

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
Comment 1 Thomas Baumgart 2024-08-12 14:20:33 UTC
Created attachment 172540 [details]
The three parts (value, shares, price)

I am unable to duplicate this with current master. See attached screenshot showing splits of two investment transactions. Am I missing something? How can the problem be duplicated?
Comment 2 Thomas Baumgart 2024-08-12 14:21:06 UTC
Updating state to wait for feedback.
Comment 3 Bug Janitor Service 2024-08-27 03:47:28 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2024-09-11 03:46:50 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.