Notifications

160 views

Description

An HTML variable on a catalog item causes an EcmaError:

WARNING *** WARNING *** Evaluator: org.mozilla.javascript.EcmaError: "__ref__" is not defined.
Caused by error in file:/glide/nodes/xxx_xxx/webapps/glide/itil/WEB-INF/ui.jtemplates/doctype/textarea_sizer.xml.24 at line 2
 
1: // see if there is a default size attribute specified
==> 2: var rows = __ref__.getAttribute("default_rows");
3: if (!rows)
4: rows = "5";
5: 

Steps to Reproduce

1. Navigate to Service Catalog > Catalog Definitions > Maintain Items.
2. Click the New button.
3. Enter a name and save the record.
4. In the Variables related list, click the New button.
5. Change the Type to "HTML", name the Question "q1", set the Name to "n1", and save the record.
6. Go back to the catalog item and click the Try It button. 

Note that the warning message is logged to the localhost log file.

The same message is also visible also after enabling the session debug log:

Evaluator: org.mozilla.javascript.EcmaError: "__ref__" is not defined. Caused by error in file:/glide/nodes/empblazenaj001_16081/webapps/glide/itil/WEB-INF/ui.jtemplates/doctype/textarea_sizer.xml.24 at line 2 1: // see if there is a default size attribute specified ==> 2: var rows = __ref__.getAttribute("default_rows"); 3: if (!rows) 4: rows = "5"; 5:

Workaround

This issue is under review. To receive notifications when more information is available, subscribe to this Known Error article by clicking the Subscribe button at the top right of the article. If you are able to upgrade, review the Fixed In or Intended Fix Version fields to determine whether any versions have a planned or permanent fix.

 

 


Related Problem: PRB722507

Seen In

Geneva Patch 8
Geneva Patch 8 Hot Fix 1
Helsinki Patch 3

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-07-23 05:21:55
Published:2018-07-23