Hello to all,
Whaou it has been years since I last came on this website or looked at anything related to Moodle. And I don't really know why I do this.
In fact I know : I hate when I don't understand something
Camille Carlier has reported a nasty bug : when an algebra question is included in a quiz the statistics page for the quiz is blank.
The algebra question type is a very old one, originally made by Roger Moore, and in my opinion largely outdated : people interested in maths should rather look at Stack or formulas questions, but I know people still use it.
And it annoy me when something I have done is breaking the whole quiz engine !
So this morning I decided to look at it. It was not easy, as I didn't had anything related to programming installed on my computer now .
I had to install Wamp then Moodle, create a test site, add some users, but once debugging was activated, finding the problem was easy.
So I decided to commit a fix to my github (only 2 lines change) and to update the parser created by Roger to use PHP7 constructors so that I don't get lots of deprecated notices when debugging is on.
What puzzle me is that in fact the problem was probably here since I ported this question type for Moodle 2.2 or 2.3, and nobody has reported it before
Maybe people are not found of statistics after all ?
I will now try to add the new version to the plugin directory (I don't know if I still have the rights to do that ?)
It's rather funny that my come back is for one of the plugins I was caring the less, but after finding the bug it would have been stupid not to release a new version.
And of course let me wish to all Moodle users a merry Christmas and a happy new year 2018.