[Kmymoney-devel] [kmymoney4] [Bug 345061] Date of future payments change automatically

Thomas Baumgart thb at net-bembel.de
Fri May 15 17:33:26 UTC 2015


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

Thomas Baumgart <thb at net-bembel.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/kmym
                   |                            |oney/4d0d3092e77964cb800562
                   |                            |1438a4e4d03defbe94

--- Comment #3 from Thomas Baumgart <thb at net-bembel.de> ---
Git commit 4d0d3092e77964cb8005621438a4e4d03defbe94 by Thomas Baumgart.
Committed on 15/05/2015 at 17:28.
Pushed by tbaumgart into branch 'master'.

Don't change the original start date of a schedule

Entering schedules updates the next due date of the schedule. Before
this change, this also used to change the start date member variable
which is the reason that the day of the first execution of the schedule
is lost over time when it is modified because it is in the range of
29-31 and the month for the transaction does not have that many days. In
this case, the day was adjusted and caused future transaction not to
happen on this day anymore.

I have updated testcases and added a new one but still we need more
testing before we cherry pick this change over to the 4.7 branch.

M  +1    -1    kmymoney/mymoney/mymoneyschedule.cpp
M  +48   -0    kmymoney/mymoney/mymoneyscheduletest.cpp
M  +1    -0    kmymoney/mymoney/mymoneyscheduletest.h

http://commits.kde.org/kmymoney/4d0d3092e77964cb8005621438a4e4d03defbe94

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


More information about the KMyMoney-devel mailing list