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

Thomas Baumgart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/offi |https://invent.kde.org/offi
                   |ce/kmymoney/-/commit/d933ce |ce/kmymoney/-/commit/bc3940
                   |2d3bc44deb03c38fa01ccdf6e6b |e406e3f20b04c5cce1a043960f3
                   |18d342e                     |2fffb3c

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

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
(cherry picked from commit d933ce2d3bc44deb03c38fa01ccdf6e6b18d342e)

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

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

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

Reply via email to