Issue
- In list reports of New UI report designer , when the report is grouped by on any field , the expand all groups button doesn't work.
- Clicking the button does nothing and the customer cannot find the grouped results.
- The below error can be observed in the console of the browser.
===============================
GlideList2.get(element.getAttribute('data-list_id')).toggleGroups();
evt.stop();
});
Uncaught TypeError: Cannot read property 'toggleGroups' of undefined
at HTMLBodyElement.<anonymous> (js_includes_listv2_doctype.jsx?v=09-05-2019_1536&lp=Wed_Jul_17_10_36_15_PDT_2019&c=25_443:2480)
at e.handleEvent (js_includes_doctype.jsx?v=09-05-2019_1536&lp=Wed_Jul_17_10_36_15_PDT_2019&c=25_443:14)
at HTMLBodyElement.<anonymous> (js_includes_doctype.jsx?v=09-05-2019_1536&lp=Wed_Jul_17_10_36_15_PDT_2019&c=25_443:14)
39VM1713 sys_report_template.do:1 Uncaught TypeError: Cannot read property 'toggleGroup' of undefined
at HTMLButtonElement.onclick (VM1713 sys_report_template.do:1)
2VM1725 sys_report_template.do:1 Uncaught TypeError: Cannot read property 'toggleGroup' of undefined
at HTMLButtonElement.onclick (VM1713 sys_report_template.do:1)
onclick @ VM1725 sys_report_template.do:1
==============================
Release
Any release.
Cause
- The UI script 'ConditionalFocus' needs to be checked as it could be inactive.
- Navigate to sys_ui_script.LIST and search for 'ConditionalFocus'.
Resolution
- The script should be activated which will fix this behavior.