Multiple loans on same item-patron #3754
Labels
bug
Breaks something but is not blocking
f: circulation
Concerns the circulation interface or backend
UX
User experience, ergonomy
Bug description:
Sometimes two loans are created on the same item-patron combination. This should never happen as it may cause problems in the circulation and stats. This seems to happen when performing the same circulation operation in very quick succession, e.g. double-clicking on the checkout button. The HTTP request for the checkout is sent to the server twice without giving it time to index the resources, which causes conflicts and errors.
Expected behavior:
It should not be possible to send the same circulation request multiple times in quick succession.
Maybe use Angular to limit the number of request sent to 1 second (?).
Steps to Reproduce:
Context
The text was updated successfully, but these errors were encountered: