Bug 31358 - Offline circulation broken
Summary: Offline circulation broken
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: master
Hardware: All All
: P5 - low major (vote)
Assignee: Bugs List
QA Contact: Testopia
Depends on: 29155
  Show dependency treegraph
Reported: 2022-08-12 21:09 UTC by Victor Grousset/tuxayo
Modified: 2022-08-20 20:32 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Note You need to log in before you can comment on or make changes to this bug.
Description Victor Grousset/tuxayo 2022-08-12 21:09:08 UTC
== Test plan ==
1. Enable the AllowOfflineCirculation system preference.
2. Go to Circulation -> Built-in offline circulation interface.
3. go to Check out
4. Input anything as a patron barcode and validate
5. you don't get the warning that there isn't a patron DB in offline mode
6. Input anything as an item barcode and validate
7. Nothing happens, no warning about missing date, no recorded checkout when the date is filled
8. Go to offline checkins
9. Input anything as an item barcode and validate
10. Nothing happens

Bisecting shows that it's from bug 29155
Comment 1 Owen Leonard 2022-08-15 13:53:39 UTC
Offline circulation uses a plugin, jquery.indexeddb.js, which hasn't been updated for almost ten years. There is an outstanding issue about it being incompatible with jQuery 3.6: https://github.com/axemclion/jquery-indexeddb/issues/75
Comment 2 Victor Grousset/tuxayo 2022-08-20 20:32:41 UTC
Ouch, thanks for tracking that down.

Does it look hard to replace?