Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4488 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

Ah.. it works, thanks :)

welcome

Related Posts Odpovědi Zobrazení Aktivita
1
bře 19
4182
1
lis 23
1770
2
úno 23
8101
0
lis 20
2343
0
zář 20
3328