titra
titra copied to clipboard
Error when showing Charts
When I look on the Charts page, I can see this error in the console:
Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
at i.value (/node_modules/frappe-charts/dist/frappe-charts.min.umd.js:1:35122)
at i.value (/node_modules/frappe-charts/dist/frappe-charts.min.umd.js:1:34642)
at ResizeObserver.boundDrawFn (/node_modules/frappe-charts/dist/frappe-charts.min.umd.js:1:33495)
Thanks for reporting this issue. Unfortunately this is caused by the library we use to render the charts so we will have to create an issue for the library at https://github.com/frappe/charts. I don't think there is anything we can do on the titra side to prevent this but I am always open for suggestions!
The error is also viewable on the docker logs not only on the user browser console:
Also by default the Time distribution by task chart is not rendered
But as soon as you open the JS dev console, the chart appears
Closing this issue since there is nothing we can do about it until the root cause is fixed in frappe-charts upstream.