173 views

Description

A checkbox variable within the variable editor on a sc_task form causes the form not to load completely. Clicking on any reference (i) icon or the magnifying glass icon does not load the pop-up windows.

The browser console displays the following error:

Uncaught TypeError: Cannot read property 'value' of null
at e.isFieldValueBlank (js_includes_catalog.jsx?v=05-24-2018_1317&lp=Thu_May_24_15_56_08_PDT_2018&c=4_50:4738)
at e.isChecked (js_includes_catalog.jsx?v=05-24-2018_1317&lp=Thu_May_24_15_56_08_PDT_2018&c=4_50:4742)
at e._isCheckboxGroupMandatory (js_includes_catalog.jsx?v=05-24-2018_1317&lp=Thu_May_24_15_56_08_PDT_2018&c=4_50:3692)
at e._isCheckboxGroupMandatory (js_includes_catalog.jsx?v=05-24-2018_1317&lp=Thu_May_24_15_56_08_PDT_2018&c=4_50:3678)
at e.getMissingFields (js_includes_catalog.jsx?v=05-24-2018_1317&lp=Thu_May_24_15_56_08_PDT_2018&c=4_50:2897)
at e.getMissingFields (js_includes_doctype.jsx?v=05-24-2018_1317&lp=Thu_May_24_15_56_08_PDT_2018&c=4_50:5912)
at e.markMandatoryTabs (js_includes_doctype.jsx?v=05-24-2018_1317&lp=Thu_May_24_15_56_08_PDT_2018&c=4_50:23590)
at e.startCatchingMandatory (js_includes_doctype.jsx?v=05-24-2018_1317&lp=Thu_May_24_15_56_08_PDT_2018&c=4_50:23583)
at fireEvent (js_includes_doctype.jsx?v=05-24-2018_1317&lp=Thu_May_24_15_56_08_PDT_2018&c=4_50:1192)
at Object.fire (js_includes_doctype.jsx?v=05-24-2018_1317&lp=Thu_May_24_15_56_08_PDT_2018&c=4_50:1164)

Steps to Reproduce

  1. Create a catalog item with the following settings:

        Availability: Desktop Only

        One checkbox variable and ensure Selection Required is not checked

  2. Click the Try It button and create an RITM record.

  3. Go to sc_req_item table and open the newly created RITM record.

  4. Scroll down to the Catalog Tasks related list and either click New or open an existing catalog task record.

  5. Try to click on any of the reference lookup (i) or magnifying glass icons or right-click on the form to open the context menu.

    Note that clicking on any reference lookup (i) or magnifying glass icon does not open the pop-up window and right-clicking in the form does not open the context menu. A console error is displayed.

 

Workaround

This issue is fixed in the London release. On previous versions the workaround below can be applied, but only during off-peak hours because of the last cache flush step affecting all logged in users:

1. In the Application Navigator type sys_properties.list 

2. Click New

3. Create a new system property with these values: 
Name: glide.sc.use_sc_form_v2 
Type: true|false 
Value: false

4. Click Save

5. In the Application Navigator perform cache.do

 


Related Problem: PRB1289778

Seen In

There is no data to report.

Intended Fix Version

London

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-07-19 23:38:08
Published:2018-06-29