Bug 416410 - Add a recuring transaction - loss of input if we forget the source account
Summary: Add a recuring transaction - loss of input if we forget the source account
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.0.7
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-18 07:30 UTC by Philippe Debrabant
Modified: 2020-01-18 13:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.0.8


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Debrabant 2020-01-18 07:30:49 UTC
SUMMARY

STEPS TO REPRODUCE
1. Add a recuring transaction.
2. Enter frequencee, payee, category, date and amount. Don't select the source account.
3. Validate

OBSERVED RESULT
Once we have validate the dialog box, there's the normal message (french config) : Impossible d'ajouter l'opération récurrente : Cannot add split that does not contain an account reference /.../kmymoney/kmymoney-5.0.7/kmymoney/mymoney/mymoneytransaction.cpp:214

Once validate the error message, the dialog box is re-displayed but all the input fields are cleared.

EXPECTED RESULT

Once validate the error message, the dialog box is re-displayed with all the input fields with their user value.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Thomas Baumgart 2020-01-18 13:31:33 UTC
Git commit f9bc63cd63408f2fe0c9c467c3e344d065bc4935 by Thomas Baumgart.
Committed on 18/01/2020 at 13:25.
Pushed by tbaumgart into branch '5.0'.

Prevent creation of schedules that are not assigned to an account
FIXED-IN: 5.0.8

M  +1    -1    kmymoney/dialogs/keditscheduledlg.cpp
M  +15   -4    kmymoney/widgets/kguiutils.cpp
M  +9    -0    kmymoney/widgets/kguiutils.h

https://commits.kde.org/kmymoney/f9bc63cd63408f2fe0c9c467c3e344d065bc4935
Comment 2 Thomas Baumgart 2020-01-18 13:31:41 UTC
Git commit ae25b72b0683e25d7896b19a33ff6418af2ce13e by Thomas Baumgart.
Committed on 18/01/2020 at 13:31.
Pushed by tbaumgart into branch 'master'.

Prevent creation of schedules that are not assigned to an account
FIXED-IN: 5.0.8
(cherry picked from commit f9bc63cd63408f2fe0c9c467c3e344d065bc4935)

M  +1    -1    kmymoney/dialogs/keditscheduledlg.cpp
M  +15   -4    kmymoney/widgets/kguiutils.cpp
M  +9    -0    kmymoney/widgets/kguiutils.h

https://commits.kde.org/kmymoney/ae25b72b0683e25d7896b19a33ff6418af2ce13e