-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
3.1.5
-
None
-
OS: CentOS 7
Webservice: Apache and nginx + php-fpm
-
MySQL
-
MOODLE_31_STABLE
In quiz activity, when we go to "Results-> Statistics" and try to download tables or report (Quiz information) or "Quiz structure analysis" in format csv, xls or ods we get an 500 error.
The debug log error are
PHP Fatal error: Call to a member function close() on a non-object in /var/www/html/moodle/lib/classes/dataformat/spout_base.php on line 102, referer: http://xxx.xxxx.xx/mod/quiz/report.php?id=197196&mode=statistics
Steps to reproduce:
1.- In a course create a quiz
2.- Answer the quiz with some students
3.- As teacher go to Results --> Statistics
4.- in "Quiz Information" section or "Quiz structure analysis" section press "Download" selecting CSV, XLS or ODS format
We test this in several moodle installation and we get the same error.
- duplicates
-
MDL-56046 lib/spout changes break Excel export of tables
- Closed