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

Error when running participation report for Workshop activity

    XMLWordPrintable

    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 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()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tlock Tim Lock
              Reporter:
              martyjacobs Marty
              Peer reviewer:
              David Mudrák (@mudrd8mz)
              Integrator:
              Dan Poltawski
              Tester:
              Adrian Greeve
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

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