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

qeupgradehelper cron functionality is not implemented.

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      1. Start with a Moodle 2.0 site with quiz attempts.
      2. qeupgradehelper from https://github.com/timhunt/moodle-local_qeupgradehelper and follow the instructions in partialupgrade-example.php to ensure the upgrade does not upgrade all the quiz attempts.
      3. Upgrade to 2.1
      4. Go to qeupgradehelper and configure cron to complete the upgrade.
      5. Run cron, and check the mtrace output to confirm that it does upgrade (some of) the remaining quiz attempts.

      Show
      1. Start with a Moodle 2.0 site with quiz attempts. 2. qeupgradehelper from https://github.com/timhunt/moodle-local_qeupgradehelper and follow the instructions in partialupgrade-example.php to ensure the upgrade does not upgrade all the quiz attempts. 3. Upgrade to 2.1 4. Go to qeupgradehelper and configure cron to complete the upgrade. 5. Run cron, and check the mtrace output to confirm that it does upgrade (some of) the remaining quiz attempts.
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      It seems the code for the qeupgradehelper cron functionality has been left out of the release.

      I have verified this with Tim Hunt.

      I receive the following message in crontab output:

      qeupgradehelper: local_qeupgradehelper_cron() started at 16:49:27
      qeupgradehelper: processing ...
      qeupgradehelper: sorry, not implemented yet.
      qeupgradehelper: local_qeupgradehelper_cron() finished at 16:49:27

      In qeupgradehelper's lib.php I see this:

      while (time() < $stoptime) {
      mtrace('qeupgradehelper: processing ...');

      // TODO
      mtrace('qeupgradehelper: sorry, not implemented yet.');
      return;
      }

        Attachments

          Activity

            People

            • Assignee:
              timhunt Tim Hunt
              Reporter:
              ehasson Elan Hasson
              Peer reviewer:
              Tim Hunt
              Integrator:
              Sam Hemelryk
              Tester:
              Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Oct/11