Interactive filters stopped working


Description

Symptoms


Interactive filters on home pages not working.

 

Error seen in browser console when trying to change the interactive filter option

GlideV2ChartingIncludes.jsx?v=09-12-2018_0933:5335 Uncaught Error: Report replace called, but the element to replace was not found!
at reportReplace (GlideV2ChartingIncludes.jsx?v=09-12-2018_0933:5335)
at updateReportInGauge (GlideV2ChartingIncludes.jsx?v=09-12-2018_0933:5565)
at GlideV2ChartingIncludes.jsx?v=09-12-2018_0933:5722
at applyInteractiveFiltersToReport (GlideV2ChartingIncludes.jsx?v=09-12-2018_0933:5737)
at e.getDashboardMessageHandlerCallback [as _callback] (GlideV2ChartingIncludes.jsx?v=09-12-2018_0933:5515)
at e._dashboardFilterAdded (js_includes_home_doctype.jsx?v=09-12-2018_0933&lp=Mon_Nov_05_15_55_02_PST_2018&c=9_142:694)
at fireEvent (js_includes_doctype.jsx?v=09-12-2018_0933&lp=Mon_Nov_05_15_55_02_PST_2018&c=9_142:1192)
at Object.fire (js_includes_doctype.jsx?v=09-12-2018_0933&lp=Mon_Nov_05_15_55_02_PST_2018&c=9_142:1164)
at e.publishMessage (js_includes_home_doctype.jsx?v=09-12-2018_0933&lp=Mon_Nov_05_15_55_02_PST_2018&c=9_142:748)
at e.publishFilter (js_includes_home_doctype.jsx?v=09-12-2018_0933&lp=Mon_Nov_05_15_55_02_PST_2018&c=9_142:761)

Release


Jakarta and onwards

 

Cause


If the homepage is using gauges to show reports, the interactive filters don't run anymore.

This is because the reports need to be added to the homepage directly and not using a gauge.

Resolution


Remove the gauge from the homepage and instead add the report directly onto the homepage using the Add content option.