Summary: | Scheduled monthly transaction will only change first date | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Ian Neal <iann_bugzilla> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dev.rszczesiak, me |
Priority: | NOR | ||
Version: | git (master) | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/office/kmymoney/commit/7d54d8f0c96e11a9d36545fa3ee1a89b1eb3c3bb | Version Fixed In: | 5.1.0 |
Sentry Crash Report: | |||
Attachments: |
Test kmy that demonstrates the issue
Test case created in 5.0.6 |
Description
Ian Neal
2020-05-19 00:25:29 UTC
I can't reproduce this using git head 5.0 branch. I changed to show 90+ days in the future in the ledger so I can see the next three scheduled transactions, and they all show the same day of the month when I change it. I'm on frameworks 5.67.0, plasma 5.17.5, and qt 5.14.2. I used a plain payment from a savings account. Might the type of account matter? (In reply to Jack from comment #1) > I can't reproduce this using git head 5.0 branch. I changed to show 90+ > days in the future in the ledger so I can see the next three scheduled > transactions, and they all show the same day of the month when I change it. > > I'm on frameworks 5.67.0, plasma 5.17.5, and qt 5.14.2. > > I used a plain payment from a savings account. Might the type of account > matter? I've pulled the latest master. This is on a checking account. One thing I forgot to add is that the scheduled transaction has an ending date. I have mine set to 10 transactions remaining. Can you try with that? I tried to reproduce the issue for the following conditions: * master branch * checking account * end after 10 occurrences * original due date set to 22 may 2020, then changed to 24 may 2020 * ledger preview set to 90 days SOFTWARE/OS VERSIONS KDE Plasma Version: 5.18.4 KDE Frameworks Version: 5.69.0 Qt Version: 5.14.2 I could not reproduce the issue. Works good for me. Created attachment 128601 [details]
Test kmy that demonstrates the issue
I've created a test kmy file which demonstrates the issue.
Monthly scheduled transfer created for 22nd May with limit of 10
If you try to change to 24th of month, only first one changes.
I have my preview set to 500 days
I can confirm the issue exists when reproduced from your test file. Frankly, when I once again tried to reproduce the issue on my private accounts, I could not - it worked just fine. Seems like the KMM build on which the file was created has something to do with it... Created attachment 128603 [details]
Test case created in 5.0.6
This is a similar file created on another computer using 5.0.6 (latest that ships with Fedora 30) and it shows the same issue.
Also note in both examples it is a transfer between accounts, so could it be related to that? Yes, I had noticed that the scheduled transaction is a transfer and therefore tried again on my private accounts. No success. So both your computers run Fedora 30, right? (In reply to Robert Szczesiak from comment #8) > Yes, I had noticed that the scheduled transaction is a transfer and > therefore tried again on my private accounts. No success. > > So both your computers run Fedora 30, right? Yes, both run Fedora 30. The option 'schedule ends after or on' makes the difference. If I turn it off in your demo file then the date changes in the ledger for all months not only the first payment. Git commit 7d54d8f0c96e11a9d36545fa3ee1a89b1eb3c3bb by Thomas Baumgart. Committed on 19/05/2020 at 20:06. Pushed by tbaumgart into branch '5.0'. Update start date of scheduled transactions In case an end date was specified for a scheduled transaction and the next due date was changed by the user after the scheduled transaction was created, the date of the following transactions was not updated. This change makes sure that the following transactions are also shown and executed based on the updated date information. FIXED-IN: 5.0.9 (cherry picked from commit fdb3b3ba1b47ca8345c04fd24a79af6ee9c8cdd0) M +1 -0 kmymoney/dialogs/keditscheduledlg.cpp https://invent.kde.org/office/kmymoney/commit/7d54d8f0c96e11a9d36545fa3ee1a89b1eb3c3bb |