Skip to Content
Menú
This question has been flagged
1 Respondre
4420 Vistes

I use Odoo 10.00 on Ubuntu Server 16.04 LTS. At the begining everything seems so fine. But after I tried to update the apps, I got some error messages : 


While I click Apps > Update (also Update Apps List)  I got error : 

Odoo Client Error

Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

https://apps.odoo.com/bus/static/src/js/bus.js:259

Traceback:


Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

  at setItem (https://apps.odoo.com/bus/static/src/js/bus.js:259:5)

  at Class.focus_change (https://apps.odoo.com/bus/static/src/js/bus.js:239:9)

  at Class.prototype.(anonymous function) [as focus_change] (https://apps.odoo.com/web/static/src/js/framework/class.js:89:38)

  at dispatch (https://apps.odoo.com/web/static/lib/jquery/jquery.js:4641:58)

  at elemData.handle (https://apps.odoo.com/web/static/lib/jquery/jquery.js:4309:63)


- - - - - - - - - -


Odoo Client Error

Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

https://apps.odoo.com/web/content/1312616-eb64e2b/web.assets_backend.js:4520

Traceback:

Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

  at setItem (https://apps.odoo.com/web/content/1312616-eb64e2b/web.assets_backend.js:4520:29)

  at Class.focus_change (https://apps.odoo.com/web/content/1312616-eb64e2b/web.assets_backend.js:4518:614)

  at Class.prototype.(anonymous function) [as focus_change] (https://apps.odoo.com/web/content/1173709-8712006/web.assets_common.js:2533:559)

  at dispatch (https://apps.odoo.com/web/content/1173709-8712006/web.assets_common.js:740:451)

  at elemData.handle (https://apps.odoo.com/web/content/1173709-8712006/web.assets_common.js:713:173)


Any idea how to fix this ? 

Avatar
Descartar
Best Answer

Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

The above exception is thrown when the "Block third-party cookies and site data" checkbox is set True in Content Settings.To find the settings:

Under Chrome's Settings > Privacy > Content settings button

or

open Chrome settings, type "third" in the search box, click the Content Settings button, and view the fourth item under Cookies.



If this setting is checked, third-party scripts cookies are disallowed and access to localStorage may result in thrown SecurityError exceptions.


Avatar
Descartar
Autor

Ah.. it works, thanks :)

welcome

Related Posts Respostes Vistes Activitat
1
de març 19
4113
1
de nov. 23
1680
2
de febr. 23
7928
0
de nov. 20
2236
0
de set. 20
3202