Issue Summary
Editing the "Created vs. Resolved" gadget in any dashboard will fail with the error message:
Unknown error occurred rendering this gadget.
Steps to Reproduce
- Navigate to any dashboard.
- Click "Add gadget"
- "Load all gadgets"
- Scroll down to the "Created vs Resolved" gadget and add it.
- Close the Add gadget window to go back to the dashboard and save the gadget.
- Try to edit the gadget.
Expected Results
To get to the edit gadget menu:
Actual Results
The error message "Unknown error occurred rendering this gadget." appears at the bottom of the gadget and the edit menu never gets displayed.
The following error messages show up in the browser JS console:
batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US:4031 Error rendering gadget with id '10100': t(...).removeResize is not a function TypeError: t(...).removeResize is not a function at p.renderEdit (batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US:4775:814) at batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US:4031:19587 at Object.safeInvokeFunction (batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US:4031:21883) at Object.safeRender (batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US:4031:21464) at safeRender (batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US:4031:19257) at HTMLLIElement.<anonymous> (batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US:4031:19550) at HTMLLIElement.dispatch (batch.js?locale=en-US:64:3915) at HTMLLIElement.v.handle (batch.js?locale=en-US:64:2004) safeInvokeFunction @ batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US:4031 safeRender @ batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US:4031 safeRender @ batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US:4031 (anonymous) @ batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-US:4031 dispatch @ batch.js?locale=en-US:64 v.handle @ batch.js?locale=en-US:64
Workaround
There's no workaround to edit the gadget. Users will have to create a new gadget with the required values and delete the old one.
Note1: Browsers used (Chrome / Firefox / Safari).
Note2: Reproducing the issue confirmed that v8.20.0 and 8.20.7 did not exhibit this bug.