[kmymoney] [Bug 473322] New: SLQLite "kmmSplits"."sharesFormatted" Data Corrupt perhaps??

JAH bugzilla_noreply at kde.org
Sat Aug 12 23:32:58 BST 2023


https://bugs.kde.org/show_bug.cgi?id=473322

            Bug ID: 473322
           Summary: SLQLite "kmmSplits"."sharesFormatted"  Data Corrupt
                    perhaps??
    Classification: Applications
           Product: kmymoney
           Version: 5.1.3
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: database
          Assignee: kmymoney-devel at kde.org
          Reporter: vanquestor at gmail.com
  Target Milestone: ---

After problems with base currency conversions in reports, I've been running
parameterized, preprepared SQL queries from the BASH command line very
successfully but they require parsing the fractional value of
"kmmSplits"."sharesFormatted" each time the quantity of shares is required. 

It seems that formatting commas etc have been removed from the comparable
"kmmSplits"."valueFormatted" field so it can be used without parsing but
"kmmSplits"."sharesFormatted" bears no relation to the quantity of shares at
all  (seems to be an integer rounding of the "kmmSplits"."priceFormatted"
field).

It would make life much easier if "kmmSplits"."sharesFormatted"  held the
decimal value of "kmmSplits"."shares" (albeit as TEXT).

Apologies if "kmmSplits"."sharesFormatted" is being used for some other purpose
and this is not a bug at all.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list