Multiple renewals in quick succession are possible in opac and staff client
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Multiple renewals of the same item can happen tenths of a second apart possibly due to double-clicks, page reloads, or double-scanning barcodes in the client. This can happen for opac renewals as well as staff renewals.
Possibly some of the logic in bug 1787274 could partially address this, specifically limiting to one in-flight API call at a time.
Also disabling the ability to double-click in web forms could help.
Looking at a month's worth of transactions in our production system (about 240,000 transactions), there were:
635 instances of double opac renewals
29 instances of double desk renewals
so the occurrences are not uncommon.
Adding links to related/similar bugs:
bug 1780298 - Web Client: Double clicking on Submit on Place Holds screen results in duplicate holds
bug 1529969 - double-scan during check-in still troublesome
bug 1029601 - double-clicking on Submit when placing holds from the TPAC result in duplicate holds
and a relevant discussion on IRC:
tags: | added: circulation webstaffclient |
Changed in evergreen: | |
status: | New → Confirmed |
tags: |
added: usability removed: webstaffclient |
tags: | added: opac performance |
We have had numerous reports of double holds on items where we believe the problem to be double clicking on submit by either the patron or staff. I believe we can confirm this behavior.