LESS Error Code 70025 When Saving Widget CSS: Cannot call method "toCSS" of undefined (dolt.js#1)

(Doc ID 2252067.1)

Last updated on APRIL 11, 2017

Applies to:

Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.


In the Oracle Commerce Cloud Service Administration Interface, CSS was manually added to a Widget's CSS field.

When the widget is saved, an error occurs:

Error compiling the less file:
org.mozilla.javascript.EcmaError: TypeError: Cannot call method "toCSS" of undefined (dolt.js#1)
Return code: 70025

The CSS has been tested locally in a browser, without any apparent issues.

However, when adding it into the OCCS editor, the Widget cannot be saved, and the above error is seen.


 Implemented CSS for a custom widget.


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms