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

mod_choice: Select all functionality not working when viewing responses

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3, 3.3.3, 3.4
    • Fix Version/s: 3.3.4, 3.4.1
    • Component/s: Choice
    • Labels:
    • Testing Instructions:
      Hide
      1. Login as a teacher and navigate to a course.
      2. Create a choice activity with at least 2 choices
      3. Enrol at least 4 students s1, s2, s3 and s4 into the course.
      4. Login as s1. Select the first choice.
      5. Login as s2. Select the second choice.
      6. Login as the teacher again.
      7. View the responses
      8. Click the "Select all"
        • Confirm that all of the checkboxes for the respondents are checked.
      9. Click "Deselect all"
        • Confirm that all of the checkboxes for the respondents are unchecked.
      Show
      Login as a teacher and navigate to a course. Create a choice activity with at least 2 choices Enrol at least 4 students s1, s2, s3 and s4 into the course. Login as s1. Select the first choice. Login as s2. Select the second choice. Login as the teacher again. View the responses Click the "Select all" Confirm that all of the checkboxes for the respondents are checked. Click "Deselect all" Confirm that all of the checkboxes for the respondents are unchecked.
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-60546-master

      Description

      The functionality which ticks or unticks all checkboxes when clicking the Select all or Deselect all elements when viewing the response overview is broken. Caused by deprecating checkall and checknone functions in MDL-57490.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  15/Jan/18