mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #48932
[Bug 1778451] Re: user statistics sendjasonrequest error
Environment tested: Master
Browser tested: Chrome
-------------------------------------
Manual Test Script
-------------------------------------
Preconditions:
1. Database must have a few users, institutions, content etc (to be able
to see a report)
Test Script - Site admin runs Information overview report and checks to see graphs have a legend
1. Site admin logged in
2. Browse to Admin menu > Reports
3. User should see "Information overview | All institutions" title
4. Confirm the circular graphs are displayed with corresponding legends ✔
5. Confirm the line graph is displayed with corresponding legend ✔
6. Open the developer toolbar to view the colsole and refresh the page
7. Confirm there are no errors displayed ✔
[BUG] the graph legends are sometimes displayed correctly and upon a hard
refresh the graph legends may fall outside the containing box or display
over top of other page text. see attached screen shot. refreshing the page
after a hard reset will often correct the display error.
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1778451
Title:
user statistics sendjasonrequest error
Status in Mahara:
In Progress
Bug description:
in admin/users/statistics.php, just loading the page will make a few
errors show in the browsers console.
sendjsonrequest() callback failed:
ReferenceError
columnNumber: 133
fileName: "http://maharatest/js/chartjs/Chart.min.js?v=8242 line 10 > Function"
lineNumber: 3
message: "datasets is not defined"
stack: "anonymous@http://maharatest/js/chartjs/Chart.min.js?v=8242 line 10 > Function:3:133\ne@http://maharatest/js/chartjs/Chart.min.js?v=8242:10:5200\ns.template@http://maharatest/js/chartjs/Chart.min.js?v=8242:10:5260\ngenerateLegend@http://maharatest/js/chartjs/Chart.min.js?v=8242:10:11904\nfetch_graph_data/<@http://maharatest/js/mahara.js?v=8242:922:38\nsendjsonrequest/<@http://maharatest/js/mahara.js?v=8242:362:17\ni@http://maharatest/js/jquery/jquery.js?v=8242:2:27060\nadd@http://maharatest/js/jquery/jquery.js?v=8242:2:27364\nsendjsonrequest@http://maharatest/js/mahara.js?v=8242:345:5\nfetch_graph_data@http://maharatest/js/mahara.js?v=8242:903:5\n@http://maharatest/admin/users/statistics.php:455:13\ni@http://maharatest/js/jquery/jquery.js?v=8242:2:27060\nfireWith@http://maharatest/js/jquery/jquery.js?v=8242:2:27828\nready@http://maharatest/js/jquery/jquery.js?v=8242:2:29619\nJ@http://maharatest/js/jquery/jquery.js?v=8242:2:29804\n"
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1778451/+subscriptions
References