[Kmymoney-devel] Re: [Bug 253271] New: [scheduled transactions] input is lost, when encountering "Invalid payment type for bills"

Alvaro Soliverez asoliverez at kde.org
Tue Oct 5 02:54:33 CEST 2010


Hello all,
I have gone over this bug before (it was reported in a mail but not
filed in BKO).

The problem to solve it is that the transaction editor does not emit a
signal when the tab (and thus, the type of the operation) changes.
That would allow to enable or disable the payment types in the combo.
The StdTransactionEditor has a suitable spot to add the signal, but
the schedule editor instantiates the super class, TransactionEditor.

As a workaround, we can disable the ok button if the combination of
operation and payment types are not valid. But, that's the account
opening date debacle all over again...

Regards,
Alvaro

On Mon, Oct 4, 2010 at 6:26 PM, Roman Zimmermann <torotil at gmail.com> wrote:
> https://bugs.kde.org/show_bug.cgi?id=253271
>
>           Summary: [scheduled transactions] input is lost, when
>                    encountering "Invalid payment type for bills"
>           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: torotil at gmail.com
>
>
> Version:           4.5 (using KDE 4.4.6)
> OS:                Linux
>
> When I try to save a new scheduled transaction and the payment type is rejected
> with the message: "Unable to add scheduled transaction: Invalid payment type
> for bills" the dialog simply closes. There does not seem to be a way to recover
> data that was typed into the form.
> This is a very frustrating usability issue.
>
> Reproducible: Always
>
> Steps to Reproduce:
> 1. open new scheduled transaction dialogue
> 2. choose a cash account for payment
> 3. choose "manual deposit" as payment method
> 4. input an amount
> 5. hit "ok"
>
> Actual Results:
> the dialog closes, the error message is displayed
>
> Expected Results:
> the error is displayed, but the dialog doesn't close, so the data is not lost.
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are the assignee for the bug.
> _______________________________________________
> KMyMoney-devel mailing list
> KMyMoney-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kmymoney-devel
>


More information about the KMyMoney-devel mailing list