[Bug 22671] New: Built-in offline circulation interface not working
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Bug ID: 22671 Summary: Built-in offline circulation interface not working Change sponsored?: --- Product: Koha Version: master Hardware: All OS: Linux Status: NEW Severity: minor Priority: P5 - low Component: Circulation Assignee: koha-bugs@lists.koha-community.org Reporter: pierre-marc.thibault@inlibro.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com, philippe.audet-fortin@inlibro.com Target Milestone: --- I am not able to use the feature on master when I follow these steps : 1) I set AllowOfflineCirculation to Enable. 2) I go to Circulation > Built-in offline circulation interface > Synchronize. 3) I click on "Download records" and dates appear like this : "2019-04-08 16:39:16 GMT-0400 (Eastern Daylight Time)". 4) I disable my internet connection. 5) I go to "https://your-koha-staff-client-url/cgi-bin/koha/circ/offline.pl". 6) I get a 404 page. It's likely the technology is no longer supported as windows.applicationCache is deprecated and cannot be used in a not secure context (http). I am not really sure if the problem comes from my koha or that, so I am asking the community if this feature still works. I tested an updated master in https on Firefox 66.0.2. Thank you for your feedbacks. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Josef Moravec <josef.moravec@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |josef.moravec@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Magnus Enger <magnus@libriotech.no> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |magnus@libriotech.no -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de Severity|minor |normal --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I can't replicate this. I am testing with current master in Firefox on Ubuntu without problems. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Felicia Beaudry <felicia.beaudry@equinoxinitiative.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |felicia.beaudry@equinoxinit | |iative.org --- Comment #2 from Felicia Beaudry <felicia.beaudry@equinoxinitiative.org> --- We are seeing similar issues on training servers and client production servers also. The built-in offline circ tool will not work without logging in. In my case, I download records for offline storage, and receive errors that the patron barcode is not found. I have confirmed that the barcode is correct and is being scanned/entered correctly. Seeing the same behavior on both Firefox and Chrome. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=29255 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |oleonard@myacpl.org |ity.org | Status|NEW |ASSIGNED Summary|Built-in offline |Built-in offline |circulation interface not |circulation |working |applicationCache errors Component|Circulation |Browser compatibility OS|Linux |All --- Comment #3 from Owen Leonard <oleonard@myacpl.org> --- The offline circulation tool depends on a browser feature which is obsolete: applicationCache. It has been removed from the latest version of Chrome (94) and recent versions of Firefox (since version 81). Since the feature can still be used by some users if they have older browsers we can't remove it entirely. While we wait for a more broadly-compatible solution we should hide the feature in browsers which don't support it. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |29255 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29255 [Bug 29255] Built-in offline circulation broken with SQL error -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 --- Comment #4 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 126433 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=126433&action=edit Bug 22671: Show warning if browser doesn't support applicationCache This patch adds a check for browser support for the "applicationCache" feature required by the offline circulation tool. If the feature is not available, a message is shown to the user that offline circulation is disabled. To test, apply the patch and enable the AllowOfflineCirculation system preference. In a browser which supports applicationCache (Firefox < 81, Chrome < 94, Safari <= 15), go to Circulation -> Built-in offline circulation interface. - You should see the standard Offline Circulation menu options: Check out, check in, syncrhonize, etc. - Click "Synchronize," then "Download records." - The process should complete correctly, updating the "last synced" information on the page. Follow the same steps in a browser which has dropped support for applicationCache. As soon as you reach the built-in offline circulation page you should see a message, "Your browser is not compatible..." -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff --- Comment #5 from Owen Leonard <oleonard@myacpl.org> --- (In reply to Owen Leonard from comment #4)
In a browser which supports applicationCache (Firefox < 81...
MDN says "Warning: Application Cache is deprecated as of Firefox 44, and is no longer available in insecure contexts from Firefox 60 onwards." It's working for me now in Firefox 93 FWIW. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |29228 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29228 [Bug 29228] Use Flatpickr on offline circulation page -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com --- Comment #6 from David Nind <david@davidnind.com> --- I tried to test, but didn't have much luck getting the in-built offline circulation tool to work. With the latest version of Firefox (93) + Firefox developer edition on Ubuntu 18.04: doesn't show the your browser is not supported message, when you go into synchronise > download is has a message "Downloading ..." and stays there with a progress icon. I couldn't work out how to install an earlier version of Firefox or Chromium browsers to test. For the latest versions of Google Chrome + Chromium the browser not supported message is shown. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 --- Comment #7 from David Nind <david@davidnind.com> --- Replying to myself, now realising it probably isn't working because KTD is in strict SQL mode... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rel_21_11_candidate CC| |jonathan.druart+koha@gmail. | |com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Andrew Nugged <nugged@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nugged@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|rel_21_11_candidate | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Built-in offline |Warn the user in offline |circulation |circulation if |applicationCache errors |applicationCache isn't | |supported -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|29228 | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29228 [Bug 29228] Use Flatpickr on offline circulation page -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #126433|0 |1 is obsolete| | --- Comment #8 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 129987 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=129987&action=edit Bug 22671: Show warning if browser doesn't support applicationCache This patch adds a check for browser support for the "applicationCache" feature required by the offline circulation tool. If the feature is not available, a message is shown to the user that offline circulation is disabled. To test, apply the patch and enable the AllowOfflineCirculation system preference. In a browser which supports applicationCache (Firefox < 81, Chrome < 94, Safari <= 15), go to Circulation -> Built-in offline circulation interface. - You should see the standard Offline Circulation menu options: Check out, check in, syncrhonize, etc. - Click "Synchronize," then "Download records." - The process should complete correctly, updating the "last synced" information on the page. Follow the same steps in a browser which has dropped support for applicationCache. As soon as you reach the built-in offline circulation page you should see a message, "Your browser is not compatible..." Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off CC| |martin.renvoize@ptfs-europe | |.com --- Comment #9 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Works as expected for me.. signing off. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Bug 22671 depends on bug 29255, which changed state. Bug 29255 Summary: Built-in offline circulation broken with SQL error https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29255 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to oldoldstable |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #129987|0 |1 is obsolete| | --- Comment #10 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130814 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130814&action=edit Bug 22671: Show warning if browser doesn't support applicationCache This patch adds a check for browser support for the "applicationCache" feature required by the offline circulation tool. If the feature is not available, a message is shown to the user that offline circulation is disabled. To test, apply the patch and enable the AllowOfflineCirculation system preference. In a browser which supports applicationCache (Firefox < 81, Chrome < 94, Safari <= 15), go to Circulation -> Built-in offline circulation interface. - You should see the standard Offline Circulation menu options: Check out, check in, syncrhonize, etc. - Click "Synchronize," then "Download records." - The process should complete correctly, updating the "last synced" information on the page. Follow the same steps in a browser which has dropped support for applicationCache. As soon as you reach the built-in offline circulation page you should see a message, "Your browser is not compatible..." Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 --- Comment #11 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Lazy to install an old browser, trusting author and tester. Warning display on an up-to-date FF. We could have added a link to https://developer.mozilla.org/docs/Web/API/Window/applicationCache to list the compatibility. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |22.05.00 released in| | Status|Passed QA |Pushed to master -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 --- Comment #12 from Fridolin Somers <fridolin.somers@biblibre.com> --- Pushed to master for 22.05, thanks to everybody involved 🦄 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to master |Pushed to stable CC| |kyle@bywatersolutions.com Version(s)|22.05.00 |22.05.00,21.11.03 released in| | --- Comment #13 from Kyle M Hall <kyle@bywatersolutions.com> --- Pushed to 21.11.x for 21.11.03 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)|22.05.00,21.11.03 |22.05.00,21.11.03,21.05.12 released in| | CC| |andrew@bywatersolutions.com Status|Pushed to stable |Pushed to oldstable --- Comment #14 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Pushed to 21.05.x for 21.05.12 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Victor Grousset/tuxayo <victor@tuxayo.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|Pushed to oldstable |RESOLVED CC| |victor@tuxayo.net --- Comment #15 from Victor Grousset/tuxayo <victor@tuxayo.net> --- Not backported to oldoldstable (20.11.x). Feel free to ask if it's needed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)|22.05.00,21.11.03,21.05.12 |22.05.00,21.11.03,21.05.13 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22671 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |33961 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33961 [Bug 33961] Offline circulation tool no longer working and should be removed -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org