Date fields on form will cause an error if the user navigates to the form from a page containing a report


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


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