moodleou / moodle-report_customsql

A Moodle report plugin that lets you easily create simple reports that can be expressed as a single SQL query
46 stars 100 forks source link

Downloading a report with no rows via a webservice should return an empty file instead of a error message. #114

Closed abias closed 11 months ago

abias commented 2 years ago

Prerequisites:

Do everything necessary to download reports via webservice (see https://github.com/moodleou/moodle-report_customsql/blob/main/internaldoc/functionality.txt#L71): You have to especially enable webservices, create a webservice user, generate a webservice token for this user, allow the webservice token to download files

Steps to reproduce:

Expected result:

Actual result:

Analysis: