[Kmymoney-devel] [Bug 253007] New: Reinvest dividend gives "This transaction has a missing assignment of ..."

Paul Gover pmw.gover at yahoo.co.uk
Sat Oct 2 12:09:03 CEST 2010


           Summary: Reinvest dividend gives "This transaction has a
                    missing assignment of ..."
           Product: kmymoney4
           Version: 4.5
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kmymoney-devel at kde.org
        ReportedBy: pmw.gover at yahoo.co.uk

Version:           4.5 (using KDE 4.4.5) 
OS:                Linux

Existing stock investment, with several reinvest dividend transactions entered
in earlier versions of KMyMoney.  Added another, no problem, except that it
comes up in red on the ledger display, with a yellow exclamation point. 
Hovering over it brings up the message "This transaction has a missing
assignment of CNA.L 0".  CNA.L is the investment's symbol.

After a bit of experimentation trying to recreate it, it turns out to be caused
by the security's price.  (I have it set to display in £ sterling, not pence.) 
If I enter 3.2566 it's fine.  If I enter 3.25665 (the correct value), it
generates the error message.  So it looks like a problem to do with handling
over-long price values.

Reproducible: Always

Steps to Reproduce:
Go to an existing stock investment's ledger display.  Create a Reinvest
dividend transaction where the security price has a lot of decimal digits.

Actual Results:  
ledger displays transaction in red with "This transaction has a missing
assignment of <id> 0"

Expected Results:  
Transaction entered, ledger displays in black with no error message.

OS: Linux (x86_64) release 2.6.34-gentoo-r6
Compiler: x86_64-pc-linux-gnu-gcc

Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the KMyMoney-devel mailing list