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

Timed-out lesson attempts cannot be deleted successfully

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.4, 2.7.6, 2.8.4
    • Fix Version/s: STABLE backlog
    • Component/s: Lesson
    • Labels:
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE

      Description

      1. Create a lesson and enable the timer
      2. As a student, start the lesson and then just leave it without answering any questions
      3. When the timer runs out the gradebook will initially show no record of the attempt, and the lesson report will similarly not list the attempt
      4. As the student again, return to the lesson
      5. You will see a message that your attempt timed out and a notice of your grade
      6. The grade will appear in the gradebook, but will not be listed on the lesson reports screen
      7. Unlike other attempts, therefore, the unfinished attempt cannot be deleted

      If you partially complete a lesson, then attempt will show up under that lesson's reports, and it can apparently be deleted, but when the student tries again to complete the lesson, they will see this error:

      >Error: could not find lesson_timer records

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              kwiliarty Kevin Wiliarty
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: