Notifications

6 views

Description

Filter Condition using "Keywords" becomes unresponsive in Report Builder

Steps to Reproduce

1. Set "glide.ui.report.old_report_builder" system property to true if needed.
2. Navigate to: Reports > View / Run
3. Click "Create a report"
4. If you taken to the new Report Designer, click "Switch to Classic UI"
5. Once in Report Builder, open browser developer tools, console.
6. Click "Add Filter Condition"
7. For the choose field dropdown, select "Keywords"
8. Click the dropdown again and select a different field, such as "Assigned to"

Expected: The "are" operator should switch to "is"
Actual: The "are" operator remainds unchanged and the browser console shows the following error:

Uncaught TypeError: Cannot read property 'tagName' of undefined
at e.unwrapAndEnableOrButton (VM520 js_includes_last_doctype.jsx:3576)
at e.setHasKeyword (VM520 js_includes_last_doctype.jsx:3565)
at e.setKeywordIndex (VM520 js_includes_last_doctype.jsx:4138)
at e.fieldOnChange (VM520 js_includes_last_doctype.jsx:4593)
at Object.trigger (VM495 js_includes_doctype.jsx:1433)
at HTMLSelectElement.<anonymous> (VM495 js_includes_doctype.jsx:1433)
at Function.each (VM495 js_includes_doctype.jsx:1431)
at n.fn.init.each (VM495 js_includes_doctype.jsx:1431)
at n.fn.init.trigger (VM495 js_includes_doctype.jsx:1433)
at s.triggerChange (VM521 heisenberg_all.jsx:1751)
9. Click the X to delete the filter condition
Expected: filter condition should be removed
Actual: Same console error thrown as in step 8.
10. Click the X again and a different error is thrown:
Uncaught TypeError: Cannot read property 'clearFieldUsed' of null
at e.destroy (VM520 js_includes_last_doctype.jsx:4419)
at e.remove (VM520 js_includes_last_doctype.jsx:4259)
at deleteTD (VM520 js_includes_last_doctype.jsx:2685)
at deleteFilterByID (VM520 js_includes_last_doctype.jsx:2673)
at HTMLButtonElement.onclick (sys_report_template.do?sysparm_create=true&:1)

Notes:
-- Issue doesn't occur in list view outside of reports

Workaround

A fix is planned, and we recommend subscribing to the article for future information or upgrading to listed releases that offer the fix.

There is a workaround for this issue -

On the report builder classic UI, click "Switch to new UI" to be taken to the new Report Designer. From here the issue does not occur, so you can create or update your report as needed.


Related Problem: PRB1354044

Seen In

SR - IRM - GRC Profiles - Madrid 2019 Q2
SR - IRM - GRC Workbench - New York 2019 Q3
SR - IRM - Policy and Compliance - Madrid 2019 Q2
SR - IRM - Risk Management - New York 2019 Q3
SR - ITOM - CMDB CI Class Models - 201908
SR - ITOM - Discovery and Service Mapping - 201908

Intended Fix Version

Orlando

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:2019-12-03 03:09:57
Published:2019-12-03