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

Error displayed when setting an instance of mod_assign to be extra credit (backport of MDL-35389)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.3.3
    • 2.3.2
    • Assignment, Gradebook
    • None
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • Hide
      1. Create a assignment with mod_assign (new assignment module)
      2. Go to gradebook
      3. Click the pencil edit icon for the grade item. Not the one for a student grade. The one for the grade item itself.
      4. Tick the "extra credit" checkbox. You may need to display advanced.
      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 mod_assign (new assignment module) Go to gradebook Click the pencil edit icon for the grade item. Not the one for a student grade. The one for the grade item itself. Tick the "extra credit" checkbox. You may need to display advanced. Verify you do not receive this error: Coding error detected, it must be fixed by a programmer: The property "context" is not set.

    Description

      Create an instance of mod_assign (new assignment module). Go into the gradebook and click the pencil edit icon for the grade item. Not the one for a student grade. The one for the grade item itself.

      Tick the "extra credit" checkbox. You may need to display advanced. The following error is displayed.

      Coding error detected, it must be fixed by a programmer: The property "context" is not set.
       
      More information about this error
      Debug info:
      Error code: codingerror
      Stack trace:
       
          line 668 of /grade/grading/lib.php: coding_exception thrown
          line 331 of /grade/grading/lib.php: call to grading_manager->ensure_isset()
          line 530 of /grade/grading/lib.php: call to grading_manager->get_active_method()
          line 370 of /mod/assign/feedback/offline/locallib.php: call to grading_manager->get_active_controller()
          line 4329 of /mod/assign/locallib.php: call to assign_feedback_offline->is_enabled()
          line 787 of /mod/assign/lib.php: call to assign->get_user_grades_for_gradebook()
          line 804 of /mod/assign/lib.php: call to assign_get_user_grades()
          line 1190 of /lib/gradelib.php: call to assign_update_grades()
          line 1448 of /lib/grade/grade_item.php: call to grade_update_mod_grades()
          line 535 of /lib/grade/grade_item.php: call to grade_item->refresh_grades()
          line 172 of /grade/edit/tree/item.php: call to grade_item->set_locked()

      Attachments

        Issue Links

          Activity

            People

              damyon Damyon Wiese
              andyjdavis Andrew Davis
              Dan Poltawski Dan Poltawski
              Rossiani Wijaya Rossiani Wijaya
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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