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

q* plugin types should be updated to use cron_execute_plugin_type

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2, 2.3
    • Fix Version/s: 2.2.2
    • Component/s: Questions, Quiz
    • Labels:
    • Testing Instructions:
      Hide

      1. Go to the quiz statistics report, and generate some statistics. These are cached in the quiz_statistics and related tables.

      2. Wait 5+ hours (or go into the quiz_statistics table, and hack the timestamps to be a long way in the past).

      3. Run cron.

      Verify there are no errors relating to q* plugin types.

      Verify that the old cached quiz_statistics and related data has been deleted.

      This needs to be tested on 2.2 and master, since the changes are different in each place.

      Show
      1. Go to the quiz statistics report, and generate some statistics. These are cached in the quiz_statistics and related tables. 2. Wait 5+ hours (or go into the quiz_statistics table, and hack the timestamps to be a long way in the past). 3. Run cron. Verify there are no errors relating to q* plugin types. Verify that the old cached quiz_statistics and related data has been deleted. This needs to be tested on 2.2 and master, since the changes are different in each place.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Currently

      • qtypes are fine
      • quiz reports have custom cron, and need to be converted.
      • quizaccess, qformat and qbehaviour plugins cannot have cron. They should be enabled.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    12/Mar/12