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

Quiz statistics report: the preview icons do not go to the right variant

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create a quiz.
      2. Add a Calculated simple question with ten data-sets.
      3. Attempt the quiz as two different students.
      4. As teacher, go to Quiz adminstration -> Results -> Statistics
      5. Note that the stats for the question are broken down into the two variants. (If you got really unlucky, both students will have go the same variant, in which case make some more attempts as other students.)
      6. Note that there is a preview link next to each row.
      7. Click the preview icon in the top summary of all variants row.
      8. Verify that the URL does not contain variant=...
      9. Go back to the report, and click the preview icon in the row for one of the variants.
      10. Verify that the URL does contain variant=N, with the right variant number.
      Show
      Create a quiz. Add a Calculated simple question with ten data-sets. Attempt the quiz as two different students. As teacher, go to Quiz adminstration -> Results -> Statistics Note that the stats for the question are broken down into the two variants. (If you got really unlucky, both students will have go the same variant, in which case make some more attempts as other students.) Note that there is a preview link next to each row. Click the preview icon in the top summary of all variants row. Verify that the URL does not contain variant=... Go back to the report, and click the preview icon in the row for one of the variants. Verify that the URL does contain variant=N, with the right variant number.
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Steps to reproduce:

      1. Create a quiz.
      2. Add a Calculated simple question with two data-sets.
      3. Attempt the quiz three times as different students.
      4. As teacher, go to Quiz adminstration -> Results -> Statistics
      5. Note that the stats for the question are broken down into the two variants.
      6. Note that there is a preview link next to each row.
      7. Click the preview icon in the Variant 1 row.

      Expected result, you preview variant 1 of the question.

      Acutal result, you preview one of the variants at random.

      The preview URL should contain &variant=1.

        Attachments

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            timhunt Tim Hunt
            Peer reviewer:
            Dan Poltawski
            Integrator:
            Andrew Nicols
            Tester:
            Jun Pataleta
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              14/Mar/16