[kmymoney] [Bug 441381] New: When configuring an investment, we should check if identifier required by Online Source is filled-in

Dawid Wróbel bugzilla_noreply at kde.org
Sun Aug 22 18:16:31 BST 2021


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

            Bug ID: 441381
           Summary: When configuring an investment, we should check if
                    identifier required by Online Source is filled-in
           Product: kmymoney
           Version: 5.1.2
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: me at dawidwrobel.com
  Target Milestone: ---

Created attachment 140953
  --> https://bugs.kde.org/attachment.cgi?id=140953&action=edit
"[No Identifier]" error

SUMMARY
Some online sources depend on the ticker, while some other on the
identification number (ISIN) (see `WebPriceQuoteSource::identifyBy` references
in webpricequote.cpp).

The wizard should be performing a validation of whether the required field was
filled in before allowing to add an investment. Otherwise we end up with a
mis-configured investment that will manifest itself with a "[No Identifier]"
error in "Update Stock and Currency Prices" dialog (see screenshot attached)


STEPS TO REPRODUCE
1. Add an investment and provide a ticker only, but not the identification
number
2. Configure it to use an online source that requires identification number
(which was not provided in 1.)
3. Open the "Update Stock and Currency Prices" dialog

OBSERVED RESULT
Notice the "[No Identifier]" error in dialog (see screenshot attached)

EXPECTED RESULT
It should not be possible to add an investment that has a missing field

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


More information about the KMyMoney-devel mailing list