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

Essay question in Lesson. cannotfindpreattempt

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.1.6
    • Lesson
    • None
    • MOODLE_401_STABLE

      The error:

      Previous attempt record could not be found!

      Debug info:
      Error code: cannotfindpreattempt this notification

      Stack trace:
      line 3315 of /mod/lesson/locallib.php: moodle_exception thrown
      line 227 of /mod/lesson/view.php: call to lesson->prepare_page_and_contents()

      Steps to reproduce the problem:

      0. Create a course and a student enrolled if they do not exist yet.

      1. Create a lesson (or restore from the attached backup):

      • free navigation allowed and navigation menu displayed,
      • maximum number of attempts per question - unlimited,
      • re-takes allowed - yes,
      • minimum number of questions - minimum 2,
      • question of essay type and a couple of questions with automatic grading,
      • a page that allows to go to any question.

      2. Go through the entire lesson as a student, giving correct answers to all questions.

      3. Evaluate the student's essay (give maximum grade).

      4. Start another attempt as the student:

      • answer only one question and skip to the end of the lesson,
      • use navigation to go to a page in the lesson,
      • see error: cannotfindpreattempt,
      • click "continue" and see a notification that the student received more points than possible for the automatically graded questions and that the current grade is 100 out of 100.

            Unassigned Unassigned
            андрейусков Андрей Усков
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.