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

Course delete modules adhoc task handle non deletable modules

XMLWordPrintable

    • 6
    • Team Hedgehog 2024 Sprint 1.1, Team Hedgehog 2024 Sprint 1.2

      The ad hoc task core_course\task\course_delete_modules can be instantiated with custom data of several modules to delete. Currently if one of these modules cannot be deleted and an error is raised, then it will block the remaining modules.

      This patch handles this condition, allowing all modules that can be deleted to be deleted. An error on the task is still thrown if there are modules that cannot be deleted.

      Also the task will be updated to use the "no retry" flag, so the task only runs once. This is because if one or modules cannot be deleted there is no point retrying as the condition will persist.

            raquel.ortega@moodle.com Raquel Ortega
            matt.porritt@moodle.com Matt Porritt
            Dan Marsden Dan Marsden
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            CiBoT CiBoT
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 5 hours, 45 minutes
                3d 5h 45m

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