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

Random short-answer matching just does not work

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.1, 2.2
    • None
    • Questions
    • None
    • MOODLE_21_STABLE, MOODLE_22_STABLE

    Description

      Random short-answer matching just does not work in 2.1 and 2.2.
      1.- It seems that some strings are missing from quiz lang file (i.e. randomsamatch, randomsamatchnumber etc.) which throws an error when editing the question.

      Invalid get_string() identifier: 'randomsamatchnumber' or component 'quiz'

      2.- Even when question has been created, it's impossible to use it :
      Coding error detected,
      Stack trace:

      line 234 of \question\engine\bank.php: coding_exception thrown
      line 673 of \question\type\questiontypebase.php: call to question_bank::load_question_definition_classes()
      line 660 of \question\type\questiontypebase.php: call to question_type->make_question_instance()
      line 275 of \question\engine\bank.php: call to question_type->make_question()
      line 265 of \question\engine\bank.php: call to question_bank::make_question()
      line 39 of \question\preview.php: call to question_bank::load_question()

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              rezeau Joseph Rézeau
              Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: