-
Bug
-
Resolution: Fixed
-
Blocker
-
2.1
-
qa.moodle.net
-
MOODLE_21_STABLE
-
MOODLE_21_STABLE
-
wip-mdl-27956-master
-
When editing a lesson, there is an option to import questions (in GIFT format).
Reproduction steps (on qa.moodle.net):
- log in as a teacher
- create a new lesson
- add a page
- click the link "Import questions"
The following error information is presented
Invalid get_string() identifier: 'gift' or component 'quiz'
|
line 5910 of /lib/moodlelib.php: call to debugging()
|
line 6500 of /lib/moodlelib.php: call to core_string_manager->get_string()
|
line 880 of /mod/lesson/lib.php: call to get_string()
|
line 55 of /mod/lesson/import.php: call to lesson_get_import_export_formats()
|
|
( ! ) Fatal error: Access level to qformat_multianswer::readquestions() must be public (as in class qformat_default) in /html/question/format/multianswer/format.php on line 79
|
Call Stack
|
# Time Memory Function Location
|
1 0.0066 691520 {main}( ) ../import.php:0
|
2 0.2115 45708976 lesson_get_import_export_formats( ) ../import.php:55
|
- will help resolve
-
MDLQA-1017 CLONE - A teacher can import questions from a file into a lesson activity
- Passed
There are no Sub-Tasks for this issue.