Notifications

158 views

Description

On any CMDB Group record, there is an incompatibility between the UI Action 'Edit Manual Ci', and List v3. This causes an error in the console when you click the UI Action.

```
Uncaught TypeError: Cannot set property 'location' of undefined
at queryResponse (eval at prepareSandbox (js_includes_list_v3_form.jsx?v=04-25-2018_1112&lp=Tue_Jun_05_05_02_46_PDT_2018&c=19_251:10567), <anonymous>:22:21)
at e._query0 (js_includes_doctype.jsx?v=04-25-2018_1112&lp=Tue_Jun_05_05_02_46_PDT_2018&c=19_251:15242)
at e._responseReceived (js_includes_doctype.jsx?v=04-25-2018_1112&lp=Tue_Jun_05_05_02_46_PDT_2018&c=19_251:12041)
at e._processReqChange (js_includes_doctype.jsx?v=04-25-2018_1112&lp=Tue_Jun_05_05_02_46_PDT_2018&c=19_251:11899)
```

Steps to Reproduce

1. Make sure List v3 is enabled.
2. Navigate to any cmdb_group.list
3. Open any record, or create a new one.
4. Go to the CMDB Group Contains Configuration Items related list.
5. Click the UI action Edit Manual Ci.

The following error appears in the console:

Uncaught TypeError: Cannot set property 'location' of undefined
at queryResponse (eval at prepareSandbox (js_includes_list_v3_form.jsx?v=04-25-2018_1112&lp=Tue_Jun_05_05_02_46_PDT_2018&c=19_251:10567), <anonymous>:22:21)
at e._query0 (js_includes_doctype.jsx?v=04-25-2018_1112&lp=Tue_Jun_05_05_02_46_PDT_2018&c=19_251:15242)
at e._responseReceived (js_includes_doctype.jsx?v=04-25-2018_1112&lp=Tue_Jun_05_05_02_46_PDT_2018&c=19_251:12041)
at e._processReqChange (js_includes_doctype.jsx?v=04-25-2018_1112&lp=Tue_Jun_05_05_02_46_PDT_2018&c=19_251:11899)

Workaround

Disable List v3 wherever this UI Action appears. 
 
1. Navigate to the UI Action record Edit Manual Ci (https://<INSTANCE_NAME_HERE>.service-now.com/nav_to.do?uri=sys_ui_action.do?sys_id=71c002e4c73f2200a210c1452e976325).
2. Right-click in the form header and choose Configure > Form Layout.
3. In the left column, double-click List v3 Compatible to add it to the Selected' column, then move the option where you would like it to appear on the form. Save the form.
4. Go back on the UI Action record.
Note that the option List v3 Compatible is now available and is checked.
5. Uncheck this option and save the form.
5. Go back to the CMDB Group record, and refresh the page.
The UI Action should now work. 

Related Problem: PRB1287618

Seen In

There is no data to report.

Fixed In

Kingston Patch 8
London

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-07-23 20:30:28
Published:2018-07-24