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

Thomas Baumgart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|                            |5.2.3
  Fixed/Implemented|                            |
                 In|                            |
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/offi
                   |                            |ce/kmymoney/-/commit/d933ce
                   |                            |2d3bc44deb03c38fa01ccdf6e6b
                   |                            |18d342e
             Status|REPORTED                    |RESOLVED

--- Comment #2 from Thomas Baumgart <[email protected]> ---
Git commit d933ce2d3bc44deb03c38fa01ccdf6e6b18d342e by Thomas Baumgart, on
behalf of Dimitrios Glentadakis.
Committed on 05/09/2026 at 14:04.
Pushed by tbaumgart into branch 'master'.

Skip finished schedules when matching imported transactions

Add an early skip for finished schedules in
ScheduledTransactionMatchFinder::findMatchInMatchCandidatesList() so
that MyMoneySchedule::isFinished() candidates are no longer evaluated
as potential matches.

Add a regression test, testScheduleMismatch_finished(), which sets up
a schedule whose end date and last payment are in the past, confirms
the schedule reports isFinished() == true, and verifies that an
imported transaction posted on the (stale) next due date yields
MatchNotFound.
FIXED-IN: 5.2.3

M  +3    -0    kmymoney/converter/scheduledtransactionmatchfinder.cpp
M  +13   -0    kmymoney/converter/tests/test-matchfinder.cpp
M  +1    -0    kmymoney/converter/tests/test-matchfinder.h

https://invent.kde.org/office/kmymoney/-/commit/d933ce2d3bc44deb03c38fa01ccdf6e6b18d342e

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to