Moodle QA
  1. Moodle QA
  2. MDLQA-1814 Moodle 2.3 QA Cycle 1
  3. MDLQA-2123

CLONE - NEEDS UPDATING - A teacher can efficiently reorder a large quiz

    Details

    • Type: Functional Test Functional Test
    • Status: Passed
    • Affects Version/s: Moodle 2.3
    • Fix Version/s: None
    • Component/s: Questions, Quiz, Student, Teacher
    • Labels:
      None

      Description

      Pre-requisites:
      A quiz with Question order set to: "As shown on the edit screen" and "New page" set to "Never, all questions on one page".

      Test Steps:
      1. Navigate to the quiz and select the [Show] link adjacent to "Question bank contents". Check that the question bank is shown.
      2. Create a question of each type and add them all to the quiz.
      3. Navigate to the "Order and paging" tab.
      4. Do something with the Re-order questions button.
      5. Do something with the Move button.
      6. Select the checkbox adjacent to 2 questions in the quiz and select Remove Selected.
      7. Preview the quiz and verify that the questions are displayed in the correct place.
      8. Login as a student and attempt the quiz. Verify that the questions are displayed in the correct place.

        Activity

        Hide
        Rossiani Wijaya added a comment -

        Everything looks good except for missing string for adding 'random short-answer matching'.

        Invalid get_string() identifier: 'randomsamatchnumber' or component 'quiz'. Perhaps you are missing $string['randomsamatchnumber'] = ''; in mod/quiz/lang/en/quiz.php?
        
            line 6557 of /lib/moodlelib.php: call to debugging()
            line 7181 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 173 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 6557 of /lib/moodlelib.php: call to debugging()
            line 7181 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()
        
        
        
        Show
        Rossiani Wijaya added a comment - Everything looks good except for missing string for adding 'random short-answer matching'. Invalid get_string() identifier: 'randomsamatchnumber' or component 'quiz'. Perhaps you are missing $string['randomsamatchnumber'] = ''; in mod/quiz/lang/en/quiz.php? line 6557 of /lib/moodlelib.php: call to debugging() line 7181 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 173 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 6557 of /lib/moodlelib.php: call to debugging() line 7181 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()
        Hide
        Rossiani Wijaya added a comment -

        Hmm. This is a known issue. There's several bugs reported regarding this (MDL-29544 and MDL-29746).

        I will follow up with Tim Hunt regarding this.

        Show
        Rossiani Wijaya added a comment - Hmm. This is a known issue. There's several bugs reported regarding this ( MDL-29544 and MDL-29746 ). I will follow up with Tim Hunt regarding this.
        Hide
        Tim Hunt added a comment -

        Basically, when testing this, use a course with no randomsamatch questions in the question bank.

        Show
        Tim Hunt added a comment - Basically, when testing this, use a course with no randomsamatch questions in the question bank.
        Hide
        Rossiani Wijaya added a comment -

        Thanks Tim for your feedback.

        Passing this test.

        Show
        Rossiani Wijaya added a comment - Thanks Tim for your feedback. Passing this test.

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: