Notifications

4 views

Description

If a page in service portal contains a report and the user navigates to a form from that page, date fields on the form will cause the following error when the user selects a date:

TypeError: Array.prototype.some called on null or undefined

Steps to Reproduce

1) Navigate to System Definition > Plugins
2) Find and activate the plugin: Performance Analytics and Reporting - Service Portal Widgets
3) Navigate to Service Portal > Pages and click the New button to create a new page
4) After submitting your new page, go back into the page form and scroll to the Related Links section, click Open in Designer
5) Drag a 9 | 3 column layout into the container
7) In the Widgets list, find the Report widget and drag it into the 9 column slot
8) Click the Pencil icon to open the report widget options and choose a report in the Report field (example: Incidents by Priority and State)
9) Click Save
10) In the Widgets list, find the Icon Link widget and drag an instance into one of the 3 column slot
11) Click the Pencil icon to open the widget options
12) Configure the options as follows
Type: URL
HREF/URL: ?id=form&table=sc_request&sys_id=-1
Title: Request
13) Click Save
14) Navigate to your new page in the service portal and click the Request link
15) Open the browser debug console
16) Use the date picker in the request's Due Date field to select a date

Actual behavior: Observe the error in the browser console

Expected behavior: Date can be selected without an error

Workaround

After carefully considering the severity and frequency of the issue, and risk of attempting a fix, it has been decided not to address this issue. We do not make this decision lightly, and we apologize for any inconvenience. If you have any questions regarding this problem, contact ServiceNow Customer Support.


Related Problem: PRB1310091

Seen In

There is no data to report.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-12-03 11:15:43
Published:2018-12-03