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

Random short-answer matching question missing a langage string.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.6
    • Fix Version/s: None
    • Component/s: Quiz
    • Labels:
      None
    • Affected Branches:
      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

              • Assignee:
                timhunt Tim Hunt
                Reporter:
                abgreeve Adrian Greeve
                Participants:
                Component watchers:
                Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: