Openbravo Issue Tracking System - POS2
View Issue Details
0047199POS2POSpublic2021-06-22 10:072024-01-04 17:36
Triage Platform Base 
normalmajorhave not tried
closedunable to reproduce 
0047199: POS2 Login is no longer possible with Firefox browser
POS2 was possible to being used with Firefox browser during all development.

Recently (maybe >=2 weeks or so) that is no longer working and instead just opening the POS2 URL shows an error instead of the expected Login page:

"The operation is insecure."

The browser console shows an error related to serviceworker registration which is likely causing this behavior:

Failed to register/update a ServiceWorker for scope ‘ [^]’: Storage access is restricted in this context due to user settings or private browsing mode.
Go to pos2 context in livebuilds using Firefox browser (tested on v89) [^]

No tags attached.
png 47199-error.png (7,379) 2021-06-22 10:07

png 47199-console-error.png (38,967) 2021-06-22 10:07
Issue History
2021-06-22 10:07shuehnerNew Issue
2021-06-22 10:07shuehnerAssigned To => Retail
2021-06-22 10:07shuehnerTriggers an Emergency Pack => No
2021-06-22 10:07shuehnerFile Added: 47199-error.png
2021-06-22 10:07shuehnerFile Added: 47199-console-error.png
2021-06-22 10:08shuehnerResolution time => 1626127200
2021-06-25 09:42alostaleNote Added: 0129789
2021-06-25 09:42alostaleAssigned ToRetail => shuehner
2021-06-25 09:42alostaleStatusnew => feedback
2021-07-01 13:05shuehnerNote Added: 0130060
2021-07-01 13:05shuehnerIssue Monitored: shuehner
2021-07-05 12:45shuehnerResolution time1626127200 =>
2021-07-05 12:45shuehnerAssigned Toshuehner => platform
2021-07-05 12:45shuehnerStatusfeedback => new
2021-07-05 12:45shuehnerStatusnew => acknowledged
2021-07-13 09:03alostaleNote Added: 0130399
2021-07-13 09:03alostaleTypedefect => design defect
2022-02-01 08:07alostaleAssigned Toplatform => Triage Platform Base
2024-01-04 17:35shuehnerStatusacknowledged => scheduled
2024-01-04 17:36shuehnerNote Added: 0158875
2024-01-04 17:36shuehnerStatusscheduled => closed
2024-01-04 17:36shuehnerResolutionopen => unable to reproduce

2021-06-25 09:42   
I'm not able to reproduce the issue (FF 89.0.1).

Might this be due to some configuration you could have (ie. service workers won't work whn cookie policy is "keep until I close firefox" [1]).

Also note Firefox does not support IndexedDB in private browsing mode [2]. Although in this case the message is a bit different:

  * UX: Cannot open database POS2_masterdata
  * console: Uncaught (in promise) Error: No available storage method found.
    r localforage.js:2718

[1] [^]
[2] [^]
2021-07-01 13:05   
Hi thanks for investigating,

looks i had hit FF problem [1] from your list.

With that i would suggest to keep this issue open for people to find the info (if they hit it). But otherwise just watch and wait for Firefox to solve them eventually.
Checking their history + linked issue both are apparently being looked at indirectly in scope of other work.
2021-07-13 09:03   
Moving to DD: this issue won't be fixed from Openbravo as it is a Firefox bug
2024-01-04 17:36   
Re-checking with FF 121 i cannot reproduce the behavior anymore (even with 'Delete cookies and site data when Firefox is closed')

The references FF bugzilla entry is not marked as fixed so like other browser work indirectly fixes the issue we were having here.