Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4493 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Penulis

Ah.. it works, thanks :)

welcome

Post Terkait Replies Tampilan Aktivitas
1
Mar 19
4185
1
Nov 23
1772
2
Feb 23
8110
0
Nov 20
2346
0
Sep 20
3333