Koha-clms/Koha/SIP2
Kyle M Hall d709c04f57
Bug 42664: Update SIP2 config timestamp after storing the change
Koha::SIP2::Object::store bumps the timestamp before SUPER::store,
opening a race condition where a worker reloading during db update
transaction caches a config that is missing the new row.

Bump the timestamp after the row has been written so it is not advanced
ahead of the data it represents.

Test Plan:
1) prove t/db_dependent/Koha/SIP2/SIP2ModuleMigration.t
2) prove t/db_dependent/api/v1/sip2_accounts.t

Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
2026-06-29 15:38:51 +00:00
..
Account Bug 37893: Fix http links 2025-11-18 11:21:20 -07:00
Account.pm Bug 37893: Fix http links 2025-11-18 11:21:20 -07:00
Accounts.pm Bug 37893: Fix http links 2025-11-18 11:21:20 -07:00
Institution.pm Bug 37893: Fix http links 2025-11-18 11:21:20 -07:00
Institutions.pm Bug 37893: Fix http links 2025-11-18 11:21:20 -07:00
Object.pm Bug 42664: Update SIP2 config timestamp after storing the change 2026-06-29 15:38:51 +00:00
SystemPreferenceOverride.pm Bug 37893: Fix http links 2025-11-18 11:21:20 -07:00
SystemPreferenceOverrides.pm Bug 37893: Fix http links 2025-11-18 11:21:20 -07:00