Moodle
  1. Moodle
  2. MDL-4174

Lesson Essay Question Can't be Graded

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.2
    • Fix Version/s: None
    • Component/s: Lesson
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_15_STABLE
    • Rank:
      8536

      Description

      In the lesson module, a teacher will get the error Error: could not find grades if they try to mark a lesson essay before the student has completed the lesson.

      When the teacher goes to the lesson screen, they will see that there is an essay to mark even if the student hasn't completed the lesson. If they try to mark the essay, they will get that error. The problem stems from the code trying to 'update' the grade record. Because the student hasn't completed the rest of the lesson, the record doesn't exist yet, and generates the error.

      To fix it, either the lesson should not allow the essay to be marked until after the lesson has been completed, or it should create a grade record if one doesn't exist.

      mike

        Activity

        Hide
        Martin Dougiamas added a comment -

        From Mark Nielsen (man15 at humboldt.edu) Saturday, 25 February 2006, 04:26 AM:

        Solution: teacher cannot grade until student has finished the attempt.

        Fixed in MOODLE_15_STABLE and 1.6 DEV

        Show
        Martin Dougiamas added a comment - From Mark Nielsen (man15 at humboldt.edu) Saturday, 25 February 2006, 04:26 AM: Solution: teacher cannot grade until student has finished the attempt. Fixed in MOODLE_15_STABLE and 1.6 DEV
        Hide
        Michael Blake added a comment -

        assign to a valid user

        Show
        Michael Blake added a comment - assign to a valid user

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: