My Oracle Support Banner

Unable To Edit Page Source in WebCenter Portal 12c When Template References CSS From Remote Servers (Doc ID 2527345.1)

Last updated on FEBRUARY 28, 2023

Applies to:

Oracle WebCenter Portal - Version and later
Information in this document applies to any platform.


When using WebCenter Portal and trying to edit the page source, a blank page is displayed that doesn't load and the following error is displayed in the browser console:

Uncaught DOMException: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
  at Function.AdfDhtmlCodeEditorPeer._getCSS (:97:369)
  at Function.AdfDhtmlCodeEditorPeer._initCodeMirror (:90:294)
  at Function.AdfDhtmlCodeEditorPeer._waitForCSSResourcesLoad (:112:225)
  at :112:291

Issue reproduces in Chrome and Firefox.  IE 11 works fine and the source code for the page can be viewed.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.