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

q* plugin types should be updated to use cron_execute_plugin_type

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2, 2.3
    • 2.2.2
    • Questions, Quiz
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_22_STABLE
    • 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.

    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.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              timhunt Tim Hunt
              Petr Skoda Petr Skoda
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Ankit Agarwal Ankit Agarwal
              Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Mar/12