Chart.js error - bar graph not displaying
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Unassigned |
Bug Description
Related to the upgrade from 2.9.4 to 3.7.1 (Bug 1962118)
To test:
1. Add an institution and some people
2. Add some blocks to a page
3. Run the cron, ensuring that the weekly cron jobs run after you've created the data
4. View the reports page: Admin menu>Reports
Expected results:
- A horizontal bar graph under the heading 'Most frequently used blocks in portfolio pages' showing number of each blocktype
Actual results:
- No results
Errors in console:
Chart.min.
(anonymous) @ Chart.min.
(anonymous) @ Chart.min.
Us @ Chart.min.
(anonymous) @ Chart.min.
Js @ Chart.min.
dn @ Chart.min.
(anonymous) @ mahara.
(anonymous) @ mahara.
c @ jquery.js?v=8443:2
fireWith @ jquery.js?v=8443:2
l @ jquery.js?v=8443:2
(anonymous) @ jquery.js?v=8443:2
load (async)
send @ jquery.js?v=8443:2
ajax @ jquery.js?v=8443:2
sendjsonrequest @ mahara.
fetch_graph_data @ mahara.
(anonymous) @ statistics.php:537
e @ jquery.js?v=8443:2
t @ jquery.js?v=8443:2
setTimeout (async)
(anonymous) @ jquery.js?v=8443:2
c @ jquery.js?v=8443:2
fireWith @ jquery.js?v=8443:2
fire @ jquery.js?v=8443:2
c @ jquery.js?v=8443:2
fireWith @ jquery.js?v=8443:2
ready @ jquery.js?v=8443:2
B @ jquery.js?v=8443:2
mahara.
at Object._get (Chart.
at Object.
at dn.buildOrUpdat
at dn.update (Chart.
at new dn (Chart.
at mahara.
at Object.<anonymous> (mahara.
at c (jquery.
at Object.fireWith [as resolveWith] (jquery.
at l (jquery.
(anonymous) @ mahara.
c @ jquery.js?v=8443:2
fireWith @ jquery.js?v=8443:2
l @ jquery.js?v=8443:2
(anonymous) @ jquery.js?v=8443:2
load (async)
send @ jquery.js?v=8443:2
ajax @ jquery.js?v=8443:2
sendjsonrequest @ mahara.
fetch_graph_data @ mahara.
(anonymous) @ statistics.php:537
e @ jquery.js?v=8443:2
t @ jquery.js?v=8443:2
setTimeout (async)
(anonymous) @ jquery.js?v=8443:2
c @ jquery.js?v=8443:2
fireWith @ jquery.js?v=8443:2
fire @ jquery.js?v=8443:2
c @ jquery.js?v=8443:2
fireWith @ jquery.js?v=8443:2
ready @ jquery.js?v=8443:2
B @ jquery.js?v=8443:2
mahara.
at mahara.
at Object.<anonymous> (mahara.
at c (jquery.
at Object.fireWith [as resolveWith] (jquery.
at l (jquery.
at XMLHttpRequest.
(anonymous) @ mahara.
c @ jquery.js?v=8443:2
fireWith @ jquery.js?v=8443:2
l @ jquery.js?v=8443:2
(anonymous) @ jquery.js?v=8443:2
load (async)
send @ jquery.js?v=8443:2
ajax @ jquery.js?v=8443:2
sendjsonrequest @ mahara.
fetch_graph_data @ mahara.
(anonymous) @ statistics.php:508
e @ jquery.js?v=8443:2
t @ jquery.js?v=8443:2
setTimeout (async)
(anonymous) @ jquery.js?v=8443:2
c @ jquery.js?v=8443:2
fireWith @ jquery.js?v=8443:2
fire @ jquery.js?v=8443:2
c @ jquery.js?v=8443:2
fireWith @ jquery.js?v=8443:2
ready @ jquery.js?v=8443:2
B @ jquery.js?v=8443:2
mahara.
at mahara.
at Object.<anonymous> (mahara.
at c (jquery.
at Object.fireWith [as resolveWith] (jquery.
at l (jquery.
at XMLHttpRequest.
Changed in mahara: | |
milestone: | none → 22.10.0 |
importance: | Undecided → Medium |
importance: | Medium → High |
status: | New → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "main" branch: https:/ /reviews. mahara. org/c/mahara/ +/12833