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

log_legacy removal didn't clean tasks

XMLWordPrintable

    • MOODLE_402_STABLE
    • MOODLE_402_STABLE
    • Hide
      Setup before patch
      1. Install 4.2 site using March 3rd weekly release (one which includes the original plugins subsequently removed)

        git checkout 556208417de
        mdk install
        

      After patch
      1. Checkout the master branch which contains the patch for this issue.
      2. Complete upgrade
      3. Navigate to Server > Tasks > Scheduled tasks in site administration
      4. Confirm there is no task loading failure related to logstore_legacy
      Show
      Setup before patch Install 4.2 site using March 3rd weekly release (one which includes the original plugins subsequently removed) git checkout 556208417de mdk install After patch Checkout the master branch which contains the patch for this issue. Complete upgrade Navigate to Server > Tasks > Scheduled tasks in site administration Confirm there is no task loading failure related to logstore_legacy

      It seems task table wasn't cleaned properly - I am seeing this on scheduled tasks page:

      Failed to load task: \logstore_legacy\task\cleanup_task
      line 373 of /lib/classes/task/manager.php: call to debugging()
      line 530 of /lib/classes/task/manager.php: call to core\task\manager::scheduled_task_from_record()
      line 105 of /admin/tool/task/scheduledtasks.php: call to core\task\manager::get_all_scheduled_tasks()
      

        1. MDL-77686.png
          271 kB
          Ron Carl Alfon Yu

            pholden Paul Holden
            ilyatregubov Ilya Tregubov
            Ferran Recio Ferran Recio
            Shamim Rezaie Shamim Rezaie
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 1 minute
                2h 1m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.