Bug 253271

Summary: [scheduled transactions] input is lost, when encountering "Invalid payment type for bills"
Product: [Applications] kmymoney Reporter: Roman Zimmermann <torotil>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Severity: normal    
Priority: NOR    
Version: 4.5   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Roman Zimmermann 2010-10-04 23:26:15 UTC
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.
Comment 1 Alvaro Soliverez 2010-10-16 21:25:53 UTC
SVN commit 1186526 by asoliverez:

Show only valid payment types per transaction type when creating or editing a schedule


 M  +32 -0     keditscheduledlg.cpp  
 M  +1 -0      keditscheduledlg.h  
 M  +1 -0      transactioneditor.cpp  
 M  +2 -0      transactioneditor.h  

WebSVN link: http://websvn.kde.org/?view=rev&revision=1186526