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

Error: Couldn't find course-module for module 'workshop'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.1
    • Fix Version/s: None
    • Component/s: Workshop
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      When I migrated to 2.01 - I had about 26 workshops per course that didnot appear to migrate. They showup in the gradebook but there is no link to the workshop. When I attempt to delete the workshops from the grade book, I get the following error:

      Couldn't find course-module for module 'workshop', instance '267', course '20'

      line 800 of /lib/grade/grade_grade.php: call to debugging()
      line 262 of /lib/grade/grade_object.php: call to grade_grade->notify_changed()
      line 352 of /lib/grade/grade_item.php: call to grade_object->delete()
      line 336 of /lib/grade/grade_item.php: call to grade_item->delete_all_grades()
      line 165 of /grade/edit/tree/index.php: call to grade_item->delete()

      Couldn't find course-module for module 'workshop', instance '267', course '20'

      line 800 of /lib/grade/grade_grade.php: call to debugging()
      line 262 of /lib/grade/grade_object.php: call to grade_grade->notify_changed()
      line 352 of /lib/grade/grade_item.php: call to grade_object->delete()
      line 336 of /lib/grade/grade_item.php: call to grade_item->delete_all_grades()
      line 165 of /grade/edit/tree/index.php: call to grade_item->delete()

      Skip to main content
      This page should automatically redirect. If nothing is happening please use the continue link below.
      (Continue)

      Error output, so disabling automatic redirect.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: