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

Lesson Essay Question Can't be Graded

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

      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

        Gliffy Diagrams

          Attachments

            Activity

            mchurch Mike Churchward created issue -
            Hide
            dougiamas 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
            dougiamas 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
            mblake Michael Blake added a comment -

            assign to a valid user

            Show
            mblake Michael Blake added a comment - assign to a valid user
            mblake Michael Blake made changes -
            Field Original Value New Value
            Assignee Ray Kingdon [ raykingdon ] Martin Dougiamas [ dougiamas ]
            dougiamas Martin Dougiamas made changes -
            Workflow jira [ 14855 ] MDL Workflow [ 51384 ]
            dougiamas Martin Dougiamas made changes -
            Workflow MDL Workflow [ 51384 ] MDL Full Workflow [ 80495 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: