[Koha-bugs] [Bug 26136] New: Prevent double submit of checkin form
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Aug 4 15:13:34 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26136
Bug ID: 26136
Summary: Prevent double submit of checkin form
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Circulation
Assignee: koha-bugs at lists.koha-community.org
Reporter: nick at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
We have seen reports of sites where checkins appear to be failing due to
corrupt data with the error:
The checkin for the following issue failed, Please go to the about page,
section 'data corrupted' to know how to fix this problem
(DBIx::Class::Row::update(): Can't update
Koha::Schema::Result::Issue=HASH(0x55c471ef6c28): row not found at
/usr/share/koha/lib/Koha/Object.pm line 158
This seems to be caused by a double submission / race condition - the checkout
is returned twice - the first succeeeds, the second fails because the row is
moved to old_issues
Sometimes it succeeds an is logged as a return + localuse
We should prevent this from happening
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list