-
Improvement
-
Resolution: Fixed
-
Minor
-
3.5.2, 3.6
-
MOODLE_35_STABLE, MOODLE_36_STABLE
-
MOODLE_35_STABLE
-
MDL-41090 added a check check_qt_var_name_restrictions without accounting for the self::USE_RAW_DATA case.
This causes problems for qtype_opaque which I am about to fix. Running the unit tests for qbehaviour_opaque was giving:
qbehaviour_opaque_test::test_wrong_three_times
|
Invalid argument supplied for foreach()
|
|
/var/www/html/20180913_020000_209_tt_overnight_full/question/engine/questionattempt.php:1188
|
/var/www/html/20180913_020000_209_tt_overnight_full/question/engine/questionattempt.php:1169
|
/var/www/html/20180913_020000_209_tt_overnight_full/question/engine/questionusage.php:675
|
/var/www/html/20180913_020000_209_tt_overnight_full/question/engine/questionusage.php:609
|
/var/www/html/20180913_020000_209_tt_overnight_full/question/engine/tests/helpers.php:751
|
/var/www/html/20180913_020000_209_tt_overnight_full/question/behaviour/opaque/tests/opaquebehaviour_test.php:73
|
/var/www/html/20180913_020000_209_tt_overnight_full/lib/phpunit/classes/advanced_testcase.php:80
|
- is a regression caused by
-
MDL-41090 Allow teachers to embed files when manually grading questions
-
- Closed
-