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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
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