6 views

Symptoms


The System Logs > System Log > All is showing a lot of "org.mozilla.javascript.EcmaError: "field_name" is not defined" warnings

Note: "field_name" is the actual name of the field such as "cmdb_ci" or "caller_id" for example.

Release


All releases

Cause


Caused by the Value field in a field style record not using the "current" object before the actual field name.


Resolution


1) Navigate to System UI > Field Styles

2) Find any field style records where "current" object is not being used before the field name and update them accordingly

For example:

Value: javascript: cmdb_ci.sys_class_name == "cmdb_ci_computer"

Instead of:

Value: javascript: current.cmdb_ci.sys_class_name == "cmdb_ci_computer"

 

Additional Information


Define field styles

Article Information

Last Updated:2018-08-10 11:21:42
Published:2018-08-10