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

Incorrect choice answer count when multiple choice is allowed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.4, 3.1, 3.2
    • Fix Version/s: 3.0.5, 3.1.1
    • Component/s: Choice
    • Labels:
    • Testing Instructions:
      Hide
      1. Create choice with multiple answers, select to display the results to students; select the availability dates
      2. Login as a student and complete selecting several answers, you can answer as several students
      3. Login as a teacher and inspect all links to the results page, they should all display the number of USERS who answered, not the total number of options selected
      4. Make sure the results graph correctly displays %
      5. As a teacher make sure the dashboard also displays the correct link to the responses. This link should not be visible to students
      Show
      Create choice with multiple answers, select to display the results to students; select the availability dates Login as a student and complete selecting several answers, you can answer as several students Login as a teacher and inspect all links to the results page, they should all display the number of USERS who answered, not the total number of options selected Make sure the results graph correctly displays % As a teacher make sure the dashboard also displays the correct link to the responses. This link should not be visible to students
    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-54900-master

      Description

      If the choice allows multiple selection, the count of responses is not always correct:

      1. When showing results the % of answers is calculated based on total number of options selected, not the total number of users.
      2. The link "View XX responses" in the choice settings actually displays the total number of choices made (at the same time the same link in the top right corner displays the number of users who made choices).
      3. Same problem on dashboard (and also the link is missing completely).

        Attachments

        1. choice1.png
          choice1.png
          80 kB
        2. choice1fixed.png
          choice1fixed.png
          81 kB
        3. choice2.png
          choice2.png
          72 kB
        4. choice2fixed.png
          choice2fixed.png
          73 kB
        5. choice3.png
          choice3.png
          21 kB
        6. choice3fixed.png
          choice3fixed.png
          22 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Jul/16