[kmymoney] [Bug 421569] New: New Account Wizard throws exception on empty payment method selected

Robert Szczesiak bugzilla_noreply at kde.org
Fri May 15 15:22:59 BST 2020


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

            Bug ID: 421569
           Summary: New Account Wizard throws exception on empty payment
                    method selected
           Product: kmymoney
           Version: git (master)
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: dev.rszczesiak at gmail.com
  Target Milestone: ---

Created attachment 128476
  --> https://bugs.kde.org/attachment.cgi?id=128476&action=edit
New Account Wizard - Schedule Page

SUMMARY
"Invalid payment type for schedule" is thrown when the user proceeds through
Credit Card Schedule Page leaving empty payment method (default).

STEPS TO REPRODUCE
1. Go to the Accounts view and click the "New Account..." button.
2. Follow the instructions in the Wizard. From the Account type dropdown list
select "Credit Card".
3. On the Schedule page leave Payment method empty.
4. On the last page click the "Finish" button.

OBSERVED RESULT
Upon finishing the Wizard, an error window pops up:
Unable to create account: Invalid payment type for schedule
/home/robert/repos/phabricator/kmymoney/kmymoney/mymoney/mymoneyschedule.cpp:396

EXPECTED RESULT
The New Account Wizard should finish successfully and valid scheduled payment
should be created.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
Please find attached screenshots presenting the issue.

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


More information about the KMyMoney-devel mailing list