-
Bug
-
Resolution: Fixed
-
Minor
-
4.4 regressions, 4.4.4
See MDL-81614
531861:[Fri Sep 06 07:09:33.561352 2024] [php:notice] [pid 5472:tid 5472] [client 192.168.64.16:37716] Default exception handler: Sorry, the requested file could not be found Debug: \nError code: filenotfound\n* line 2148 of /lib/filelib.php: core\\exception\\moodle_exception thrown\n* line 4584 of /lib/filelib.php: call to send_file_not_found()\n* line 44 of /pluginfile.php: call to file_pluginfile()\n, referer: http://webserver20d05a70a702807e/behatrun1/badges/index.php?type=1
|
532083:[Fri Sep 06 07:09:41.207409 2024] [php:notice] [pid 5597:tid 5597] [client 192.168.64.16:48462] Default exception handler: Sorry, the requested file could not be found Debug: \nError code: filenotfound\n* line 2148 of /lib/filelib.php: core\\exception\\moodle_exception thrown\n* line 4584 of /lib/filelib.php: call to send_file_not_found()\n* line 44 of /pluginfile.php: call to file_pluginfile()\n, referer: http://webserver20d05a70a702807e/behatrun1/badges/index.php?type=1
|
532314:[Fri Sep 06 07:09:48.851479 2024] [php:notice] [pid 5539:tid 5539] [client 192.168.64.16:50372] Default exception handler: Sorry, the requested file could not be found Debug: \nError code: filenotfound\n* line 2148 of /lib/filelib.php: core\\exception\\moodle_exception thrown\n* line 4584 of /lib/filelib.php: call to send_file_not_found()\n* line 44 of /pluginfile.php: call to file_pluginfile()\n, referer: http://webserver20d05a70a702807e/behatrun1/badges/index.php?type=1
|
533119:[Fri Sep 06 07:10:13.170986 2024] [php:notice] [pid 5597:tid 5597] [client 192.168.64.16:55852] Default exception handler: Sorry, the requested file could not be found Debug: \nError code: filenotfound\n* line 2148 of /lib/filelib.php: core\\exception\\moodle_exception thrown\n* line 4584 of /lib/filelib.php: call to send_file_not_found()\n* line 44 of /pluginfile.php: call to file_pluginfile()\n, referer: http://webserver20d05a70a702807e/behatrun1/badges/index.php?type=1
|
533122:[Fri Sep 06 07:10:13.218162 2024] [php:notice] [pid 5402:tid 5402] [client 192.168.64.16:55842] Default exception handler: Sorry, the requested file could not be found Debug: \nError code: filenotfound\n* line 2148 of /lib/filelib.php: core\\exception\\moodle_exception thrown\n* line 4584 of /lib/filelib.php: call to send_file_not_found()\n* line 44 of /pluginfile.php: call to file_pluginfile()\n, referer: http://webserver20d05a70a702807e/behatrun1/badges/index.php?type=1
|
It's because some of the test generator calls from badge tests are creating badges without images (it was me! MDL-76392 & MDL-81073):
Given the following "core_badges > Badges" exist:
|
| name | status | version |
|
| Badge #2 | 1 | 2.0 |
|
The Behat generator should disallow this