Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-42142

Random short-answer matching question missing a langage string.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.6
    • None
    • Quiz
    • None
    • MOODLE_26_STABLE

    Description

      When trying to create a "random short-answer matching question" the following error message pops up:

      Invalid get_string() identifier: 'randomsamatchnumber' or component 'quiz'. Perhaps you are missing $string['randomsamatchnumber'] = ''; in mod/quiz/lang/en/quiz.php?
       
          line 293 of /lib/classes/string_manager_standard.php: call to debugging()
          line 6737 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
          line 44 of /question/type/randomsamatch/edit_randomsamatch_form.php: call to get_string()
          line 205 of /question/type/edit_question_form.php: call to qtype_randomsamatch_edit_form->definition_inner()
          line 191 of /lib/formslib.php: call to question_edit_form->definition()
          line 113 of /question/type/edit_question_form.php: call to moodleform->moodleform()
          line 217 of /question/type/questiontypebase.php: call to question_edit_form->__construct()
          line 200 of /question/question.php: call to question_type->create_editing_form()
       
      Invalid get_string() identifier: 'randomsamatch' or component 'quiz'. Perhaps you are missing $string['randomsamatch'] = ''; in mod/quiz/lang/en/quiz.php?
       
          line 293 of /lib/classes/string_manager_standard.php: call to debugging()
          line 6737 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
          line 53 of /question/type/randomsamatch/edit_randomsamatch_form.php: call to get_string()
          line 514 of /question/type/edit_question_form.php: call to qtype_randomsamatch_edit_form->data_preprocessing()
          line 221 of /question/question.php: call to question_edit_form->set_data()
      

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              abgreeve Adrian Greeve
              Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: