Notifications

589 views

Description

When the system property 'glide.sys.date_format' is not set to the default 'yyyy-MM-dd', or *if the date format for an user is dd/mm/yyyy instead of yyyy-mm-dd even though the system default is yyyy-mm-dd. After clicking on "Conflict Calendar" ui action on a change_request record the Conflict Calendar page opens but no information is displayed.

Steps to Reproduce

  1. Make sure 'Change Request Calendar' [com.snc.change_request_calendar] plugin is active.

    2. Change system property 'glide.sys.date_format' from the default 'yyyy-MM-dd' to 'dd/MM/yyyy'

*** the issue also happens when the date format for an user is dd/mm/yyyy instead of yyyy-mm-dd even though the system default is yyyy-mm-dd

3. Open a CHG record with CI, start date and end date populated. The UI Action 'Conflict Calendar' should be visible.

4. Click on the UI Action 'Conflict Calendar'

The Conflict Calendar page opens but never loads
https://<instance_name>.service-now.com/$change_request_calendar_view.do?sysparm_changeId=<change_request_sys_id>

Instead of the current date being displayed at the top as "Wednesday, 27 March 2019", the following is displayed: "undefined, Nan undefined Nan"

There are thousands of console errors which keep growing.

Workaround

As a workaround you need to perform these simple steps on your sub production instance to suggest the import of the 4 UI Scripts attached to this problem.

The changes are minor but it is much simpler importing these files than you tracking down the line changes.

Don't forget to empty your browser's cache after applying these workarounds.

The browser will cache these files according to the build-date, when updating the record the build-date does not change so the browser's cache must be emptied to ensure the browser is downloading the latest version of these files.


Related Problem: PRB1333589

Seen In

There is no data to report.

Fixed In

Madrid Patch 3
New York

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-07-29 06:57:27
Published:2019-05-01
sys_ui_script_279071560b2332005775aabcb4673a50.xmlsys_ui_script_c87f69160b2332005775aabcb4673aed.xmlsys_ui_script_eadd25160b2332005775aabcb4673a63.xml