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

Possible missing requires when running recycle bin cron.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 3.2
    • 3.2
    • Administration
    • MOODLE_32_STABLE
    • MOODLE_32_STABLE
    • MDL-56796-master
    • Hide

      This one is difficult to test, given we don't have a means to replicate right now. I think a standard regression test and inspection of the code change will have to suffice here.

      1. Check the diff and ensure it makes sense in the context of this issue.
      2. Enrol a student in a course
      3. Create an activity in a course
      4. Assign the student a grade for the activity you just created
      5. Delete the activity
      6. Run the cron task (php admin/cli/cron.php) and Confirm that there are no errors
      7. Check the recyclebin (you may need to refresh the page)
      8. Confirm that you see the activity you just deleted
      Show
      This one is difficult to test, given we don't have a means to replicate right now. I think a standard regression test and inspection of the code change will have to suffice here. Check the diff and ensure it makes sense in the context of this issue. Enrol a student in a course Create an activity in a course Assign the student a grade for the activity you just created Delete the activity Run the cron task (php admin/cli/cron.php) and Confirm that there are no errors Check the recyclebin (you may need to refresh the page) Confirm that you see the activity you just deleted

      I'm not exactly sure how I got the following errors, but here is a short dump of the cron problem.

      Skipping - Empty serviceurl for the user '27' in the tool '2' for the course '2'.
      Skipping - Empty serviceurl for the user '26' in the tool '2' for the course '2'.
      PHP Fatal error:  Call to undefined function course_module_instance_pending_deletion() in /home/adrian/moodles/integration_master_postgres/moodle/lib/grade/grade_item.php on line 1406
       
      Fatal error: Call to undefined function course_module_instance_pending_deletion() in /home/adrian/moodles/integration_master_postgres/moodle/lib/grade/grade_item.php on line 1406
      

            jaked Jake Dallimore
            abgreeve Adrian Greeve
            cameron1729 cameron1729
            David Monllaó David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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