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

Cluster yields 404 when all questions have been seen

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.7.2, 3.8
    • Fix Version/s: None
    • Component/s: Lesson
    • Labels:
    • Affected Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE

      Description

      Consider the following situation:

      • Lesson with a cluster containing two questions. 
      • Cluster is at the end of the lesson, set up to jump to next unseen question inside itself. Ending page is configured to jump to the end of the lesson.
      • Student gives wrong answer to first question and chooses to continue.
      • Student gives correct answer to second question. 
      • While the feedback is shown, the student closes their browser.
      • Some time later, the student logs in again and wants to resume the lesson.
      • Moodle takes them to the starting page of the cluster. Cluster tries to jump to next unseen question, but there is none.

      What I would expect to happen

      The lesson jumps to the cluster's ending page and the student is taken to the end of the lesson. The lesson is registered as finished and the earned points are awarded.

      What actually happens

      Moodle sends a 404 error and shows its error page. The student cannot finish the lesson anymore, they have to start all over again.

       

      I attached a demonstration course.

       

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            philippimhof PhilippImhof
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: