Bug 35317 - Koha Offline Circulation Tool (KOCT) does not work in Firefox private mode
Summary: Koha Offline Circulation Tool (KOCT) does not work in Firefox private mode
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low minor (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-13 11:12 UTC by Philip Orr
Modified: 2023-11-13 11: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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Orr 2023-11-13 11:12:33 UTC
The KOCT plugin doesn't work if you are using Firefox in private mode.
To replicate: install the KOCT plugin in your firefox browser, set "Run in private windows" to "Allow", then open a new window in private mode, and click on the plugin.
Under "Transactions", the plugin displays the following error message:
"Unable to open database: InvalidStateError: A mutation operation was attempted on a database that did not allow mutations. Error code: undefined."
An easy fix is just to not allow the plugin to be used in private mode (that is, set "Run in private windows" to "Don't allow" while you are configuring the add-on). We should at least add info about that to the manual.
Comment 1 Katrin Fischer 2023-11-13 11:32:13 UTC
We have run into something similar, but it might be the same cause. I assumed it was a browser limitation: 

Settings > Privacy & Security > History
Never remember history

I believe using a private tab/window might have a similar effect, not allowing to keep any stored data?