Orphaned course status causes an exception

Created on 1 May 2025, 14 days ago

Problem/Motivation

If a course is missing and a course status exists, we may have an exception thrown when data integrity checker service checks for lesson usage. Reference cleanup enqueue should also start from course deletion and not from course status deletion to make sure there are no performance issues.

Steps to reproduce

No idea, delete a course entry directly from db tables

Remaining tasks

Add a broken reference cleanup Drush command.

🐛 Bug report
Status

Active

Version

1.0

Component

Other backend

Created by

🇵🇱Poland Graber

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024