9 views

Description

The warning messages below are traced in the system log file when adding or removing a Performance Analytics widget on a homepage or dashboard. The widget gets added or removed properly, however the warning message can always be seen in the log file:

org.mozilla.javascript.EcmaError: <pa_widgets sys_id> is not a function. 
Caused by error in sys_script.f27d1062eb032100871aac6aa206fe02.script at line 1 

==> 1: updateWidgetCount(current.value); 
2: 
3: function updateWidgetCount(widget) { 
4: var rec = new GlideRecord('pa_widgets'); 

org.mozilla.javascript.EcmaError: XXXX is not a function. 
Caused by error in sys_script.f27d1062eb032100871aac6aa206fe02.script at line 16 

13: var count = gr.next() ? gr.getAggregate('COUNT') : 0; 
14: 
15: rec.related_dashboards = count; 
==> 16: rec.updateNoDomain()(); 
17: } 

Steps to Reproduce

1 - Open an homepage.

2 - Click on 'Add Content'.

3 - Select any PA widget.  

4 - Click on "Add here".

5 - Check the instance log and find the warning messages. The widget can be added or removed properly.

 

Workaround

This problem is under review and targeted to be fixed in a future release. You can Subscribe to this article to receive notifications when more information will become available.

 


Related Problem: PRB1298000

Seen In

There is no data to report.

Intended Fix Version

Madrid

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-10-12 08:49:30
Published:2018-10-12