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

Error when running participation report for Workshop activity

    Details

    • Database:
      Any
    • Testing Instructions:
      Hide

      1. As the admin, disable all the log stores. Enable the "Legacy log" store only.
      2. Check the Legacy log store settings and make sure that "Log legacy data" (logstore_legacy | loglegacy) is enabled.
      3. As the admin / teacher, set up a simple workshop and put it into the Submission phase
      4. Log in as a student and submit into the Workshop (eventually edit the submission, visit the workshop page couple of times etc).
      5. As a teacher, check the Course participation report for that Workshop
      6. TEST: Make sure no error is thrown and the number of the student's post / view actions are reported correctly.
      7. TEST: Check that the teacher's activity is reported, too.

      Show
      1. As the admin, disable all the log stores. Enable the "Legacy log" store only. 2. Check the Legacy log store settings and make sure that "Log legacy data" (logstore_legacy | loglegacy) is enabled. 3. As the admin / teacher, set up a simple workshop and put it into the Submission phase 4. Log in as a student and submit into the Workshop (eventually edit the submission, visit the workshop page couple of times etc). 5. As a teacher, check the Course participation report for that Workshop 6. TEST: Make sure no error is thrown and the number of the student's post / view actions are reported correctly. 7. TEST: Check that the teacher's activity is reported, too.
    • Workaround:
      Hide

      Use the new Standard logging

      Show
      Use the new Standard logging
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull from Repository:
    • Pull 2.7 Branch:
      mdl38210-moodle27
    • Pull Master Branch:
      mdl38210-master

      Description

      When I try and run a participation report for a Workshop activity (which does have submissions), I receive the following error message:

      Module workshop is missing the code needed to perform this function

      Debugging reveals the following stack trace:

      Debug info:
      Error code: modulemissingcode
      Stack trace:
      line 467 of /lib/setuplib.php: moodle_exception thrown
      line 173 of /report/participation/index.php: call to print_error()

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/May/15