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

Coding error when changing locked state of a assignment with blind marking set

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: Assignment
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a assignment with blind marking
      2. Go to gradebook and lock the column for this assignment
      3. Submit an assignment as a student
      4. Go to gradebook and unlock the column for the assignment.
      5. Verify you do not receive this error: Coding error detected, it must be fixed by a programmer: The property "context" is not set.
      Show
      Create a assignment with blind marking Go to gradebook and lock the column for this assignment Submit an assignment as a student Go to gradebook and unlock the column for the assignment. Verify you do not receive this error: Coding error detected, it must be fixed by a programmer: The property "context" is not set.
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull Master Branch:

      Description

      assign_get_user_grades() is not correctly loading the assignment context. This results in errors when the gradebook uses this callback to mod_assign.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    3/Dec/12