Bug 409237 - Wrong data in database splits record
Summary: Wrong data in database splits record
Status: RESOLVED WORKSFORME
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: 2024-09-11 03:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
The three parts (value, shares, price) (13.77 KB, image/png)
2024-08-12 14:20 UTC, Thomas Baumgart
Details

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
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.