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

Missing strings in Random short-answer matching questions

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.3.2
    • None
    • Quiz
    • None
    • MOODLE_23_STABLE

    Description

      Replication steps

      • Create a quiz
      • Add a Random short-answer matching question
      • The following appears

      Invalid get_string() identifier: 'randomsamatchnumber' or component 'quiz'. Perhaps you are missing $string['randomsamatchnumber'] = ''; in mod/quiz/lang/en/quiz.php?
      line 6738 of /lib/moodlelib.php: call to debugging()
      line 7405 of /lib/moodlelib.php: call to core_string_manager->get_string()
      line 44 of /question/type/randomsamatch/edit_randomsamatch_form.php: call to get_string()
      line 204 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 6738 of /lib/moodlelib.php: call to debugging()
      line 7405 of /lib/moodlelib.php: call to core_string_manager->get_string()
      line 53 of /question/type/randomsamatch/edit_randomsamatch_form.php: call to get_string()
      line 491 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
              fred Frédéric Massart
              Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: