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

Multiple answers multiple choice does not respect "Analyse empty answers" setting

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1
    • Component/s: Feedback
    • Labels:
    • Testing Instructions:
      Hide

      Test 1. BEFORE UPGRADE

      1. Create a feedback and answers as in the description
      2. Upgrade
      3. Make sure analysis has not changed from what it was before the upgrade
      4. Make sure now both multiple-answers questions have "Do not analyse empty submits" set to "Yes"
      5. Duplicate this feedback and answer as two students again
      6. Make sure now multiple-answers questions respect the "Do not analyse empty submits" setting.

      Note: feedbacks filled before the upgrade still miss values in the DB so changing the existing feedback may not result in correct analysis but the upgrade script would be very complicated and does not seem necessary.

      Show
      Test 1. BEFORE UPGRADE Create a feedback and answers as in the description Upgrade Make sure analysis has not changed from what it was before the upgrade Make sure now both multiple-answers questions have "Do not analyse empty submits" set to "Yes" Duplicate this feedback and answer as two students again Make sure now multiple-answers questions respect the "Do not analyse empty submits" setting. Note: feedbacks filled before the upgrade still miss values in the DB so changing the existing feedback may not result in correct analysis but the upgrade script would be very complicated and does not seem necessary.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
      wip-MDL-53588-master

      Description

      I have noticed it while writing behat tests and trying all possible combinations of settings.

      1. Create a feedback
      2. Add multiplechoice question, select it to be "single answer", set "Do not analyse empty submits" to "No"
      3. Add multiplechoice question, select it to be "single answer", set "Do not analyse empty submits" to "Yes"
      4. Add multiplechoice question, select it to be "multiple answers", set "Do not analyse empty submits" to "No"
      5. Add multiplechoice question, select it to be "multiple answers", set "Do not analyse empty submits" to "Yes"
      6. Answer feedback as two students, first student does not answer anything, second student gives answers to everything (give the same answers to each question)
      7. As teacher/manager view Analysis page
      8. Expected: 50% results when empty results are analysed and 100% results when they are not.
      9. Actual: in case of "multiple answers" there is no difference in analysis

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                23/May/16