Results page in Moodle not displaying data
Submitted by BV52 on Mon, 03/04/2019 - 03:54
Forums:
We have the H5P plugin installed on Moodle and are testing the Course Presentation type with a Summary. The grade for a user does appear in the gradebook, but when you click on the activity to go to the Results page, no data is displayed for Score, Maximum Score, or Finished. When you click on the Report link, you can view the individual student's responses, but none of that data is displaying in the table on the Results page. It looks like an issue with the JS that fetches the data? Any advice?
BV52
Mon, 03/04/2019 - 03:56
Permalink
Hi meltonml,In order to give
Hi meltonml,
In order to give your bug report the best chance of getting answered, please include the following information:
The more information you provide, the quicker the community will be able to fix it and the quicker you'll have a working solution!
-BV52
meltonml
Mon, 03/04/2019 - 14:18
Permalink
Hi VB52,Here is the
Hi VB52,
Here is the information you requested:
As a student, view the presentation and answer the summary questions
As a teacher, view the student's grade in the gradebook (properly displays the student's score)
As a teacher, click on the Course Presentation activity link in the gradebook to view the Results (not working; displays the student's Score as 0)
As a teacher, click on the Results link to view the student's answers (properly displays the student's score and gradebook score)
BV52
Wed, 03/06/2019 - 02:38
Permalink
Hi meltonml,I am unable to
Hi meltonml,
I am unable to reproduce this issue on my end using the content you provided nor a content I created. The score is showing correctly on all 3 instances. Try checking the maximum/passing grade in the settings if this will resolve the issue. Also check if the issue will happen if there are other activities inside the Course Presentation.
-BV52
meltonml
Wed, 03/06/2019 - 13:18
Permalink
Hi BV52, There are no other
Hi BV52,
There are no other activities in the Course Presentation, just the Summary. The maximum grade is set to the default of 10 and the passing grade is set to 8. Should these settings be different to allow the Results table to display the Score? Thank you.
BV52
Thu, 03/07/2019 - 07:43
Permalink
Hi meltonml,Sorry I am still
Hi meltonml,
Sorry I am still unable to reproduce the issue on my side. Would you mind trying to add one simple activity like True/False and see if the issue persists. Also I am attaching a screenshot of the score settings on my end.
-BV52
meltonml
Thu, 03/07/2019 - 14:56
Permalink
Hi BV52,I added a single true
Hi BV52,
I added a single true/false activity, and now I'm not able to see even the max score. When I purge the site caches on that page, I get this error:
[07-Mar-2019 08:07:43 America/New_York] Debugging: You need to update your sql to include additional name fields in the user object. in
[07-Mar-2019 08:07:50 America/New_York] Default exception handler: Invalid course module ID Debug:
Error code: invalidcoursemodule
Our test server is not on HTTPS; could that be an issue?
Thank you!
thomasmars
Tue, 03/12/2019 - 14:30
Permalink
Thanks for reporting this
Thanks for reporting this.
Should be fixed in https://github.com/h5p/h5p-moodle-plugin/commit/24cdadda0769bb03ef161414174b81689f639f72. Will be part of a hotfix for the plugin.