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

Quiz Responses Report: 'Which tries' option disabled when 'Attempts from' is set to 'enrolled users who have not attempted the quiz'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.4, 3.3.1, 3.4
    • Fix Version/s: 3.2.6, 3.3.3
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide

      Quiz setup

      1. Log in as teacher.
      2. Add a quiz to a course with 'How questions behave' set to 'Interactive with multiple tries'.
      3. Add a multiple choice question to the quiz with at least three options and two hints in the 'Settings for multiple tries'.
      4. Enrol two students in the course.

      Attempts setup

      1. Log in as one student.
      2. Start a quiz attempt.
      3. Check a wrong response, Try again, another wrong reponse, then get it right on the third try.
      4. Do not attempt the quiz as the other student.

      Report testing - avoiding the non-sensical set of options

      1. Log in as teacher.
      2. Go to Quiz settings -> Results -> Responses.
      3. Set 'What to include in the report' -> 'Attempts from' to ‘enrolled users who have not attempted the quiz’.
      4. Verify that the 'Which tries' option becomes disabled.
      5. Click 'Show report' and verify there are no errors or warnings.

      Report testing - checking the report display

      1. Now set 'What to include in the report' to 'enrolled users who have, or have not, attempted the quiz'. Set "Which tries" to "All tries".
      2. Click 'Show report'.
      3. Veriy the display. To do this, you need to realise that there and three types of column. Some columns hold data about the user, some about the overall quiz attempt, and some about particular questions. Then, what rows are shown depends as follows ...
      4. For a user who has not attempted the quiz, there is one row. The user columns show user data, and all other columns should show '-'.
      5. For uses who have attempted the quiz, there are one of more rows for each quiz attempt.
      6. The first of of these rows should shows the user data. In the other rows related to this attempt, the user data columns are blank.
      7. The last of these rows should show the overall attempt data. In the other rows relating to this quiz attempt, those values should be blank.
      8. For the columns that show per-question data, all the one in the block of rows should either contain a value, or '-'.

      Report testing - exploratory

      1. Please try some other combinations of report options, to ensure that you cannot trigger any errors.
      Show
      Quiz setup Log in as teacher. Add a quiz to a course with 'How questions behave' set to 'Interactive with multiple tries'. Add a multiple choice question to the quiz with at least three options and two hints in the 'Settings for multiple tries'. Enrol two students in the course. Attempts setup Log in as one student. Start a quiz attempt. Check a wrong response, Try again, another wrong reponse, then get it right on the third try. Do not attempt the quiz as the other student. Report testing - avoiding the non-sensical set of options Log in as teacher. Go to Quiz settings -> Results -> Responses. Set 'What to include in the report' -> 'Attempts from' to ‘enrolled users who have not attempted the quiz’. Verify that the 'Which tries' option becomes disabled. Click 'Show report' and verify there are no errors or warnings. Report testing - checking the report display Now set 'What to include in the report' to 'enrolled users who have, or have not, attempted the quiz'. Set "Which tries" to "All tries". Click 'Show report'. Veriy the display. To do this, you need to realise that there and three types of column. Some columns hold data about the user, some about the overall quiz attempt, and some about particular questions. Then, what rows are shown depends as follows ... For a user who has not attempted the quiz, there is one row. The user columns show user data, and all other columns should show '-'. For uses who have attempted the quiz, there are one of more rows for each quiz attempt. The first of of these rows should shows the user data. In the other rows related to this attempt, the user data columns are blank. The last of these rows should show the overall attempt data. In the other rows relating to this quiz attempt, those values should be blank. For the columns that show per-question data, all the one in the block of rows should either contain a value, or '-'. Report testing - exploratory Please try some other combinations of report options, to ensure that you cannot trigger any errors.
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      1. As teacher, add a quiz activity to your course. In Quiz Settings set Question behaviour 'How questions behave' to 'Interactive with multiple tries'.
      2. As teacher, populate the quiz with at least a question.
      3. As teacher, enrol at least one user to your course. The enrolled user should not attempt the quiz.
      4. As teacher, open the added quiz activity.
      5. As teacher, click on Settings icon and under ‘Results’ menu, click on ‘Responses’ link. A Moodle Quiz Responses Report page will open up.
      By default, table preferences are set as follows :
      Under heading ‘What to include in the report’,
      5.1. ‘Attempts from’ is set to ‘enrolled users who have attempted the quiz’
      5.2. ‘Which tries’ is set to ‘Last try’
      6. As teacher, reset the table preferences to :
      Under heading ‘What to include in the report’,
      6.1. Set ‘Attempts from’ to ‘enrolled users who have not attempted the quiz’.
      6.2. Set ‘Which tries’ to ‘First try’ or ‘All tries’.
      7. As teacher, click on ‘Show report’.
      At the bottom of the page an error message is shown.

        Attachments

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            kashmira_sandeep kashmira nagwekar
            Peer reviewer:
            Luca Bösch
            Integrator:
            Jake Dallimore
            Tester:
            Adrian Greeve
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              13/Nov/17