https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42664

--- Comment #5 from Kyle M Hall (khall) <[email protected]> ---
Created attachment 199378
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199378&action=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to