Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-8292

mod_checklist: Next and Save and show next button does not work in View progress

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.9.2
    • Fix Version/s: None
    • Component/s: Package: Checklist
    • Labels:
      None
    • Plugin Version:
      2020012900
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      It looks like the Next and Save and show next button does not work.

      Environment
      Moodle - 3.9.2+ (Build: 20201030)
      mod_checklist - 2020012900

      Replication
      1. Create a course and enrol 3 students.
      2. Turn editing on.
      3. Add a Checklist activity and set Settings / Updates by = Student and teacher.
      4. Click Save and display button.
      5. In the Edit checklist tab, type: "my item 1" and click "Add button".
      6. type another one, type: "my item 2" and click "Add button".
      7. type another one, type: "my item 3" and click "Add button".
      8. Click on the "View progress" tab.
      9. Click on the magnifying icon next to the student's name.
      10. The Checklist for "Student" page will be displayed. It will show the three items, plus the "Save", "Save and show next" and the "Next" buttons.
      11. Click either the "Save and show next" or the "Next" button.

      Observed:
      A message is displayed "Warning: Invalid argument supplied for foreach() in [MOODLE]/mod/checklist/locallib.php on line 2654"
      and the "View progress" gets refreshed".

      Issue: The next buttons don't work and does not display the next student record.

        Attachments

          Activity

            People

            Assignee:
            davosmith Davo Smith
            Reporter:
            jebarvia Joshua Ebarvia
            Participants:
            Component watchers:
            Davo Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: