Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting course report store in block "configurable_reports" #232

Open
fidanchik opened this issue Apr 12, 2023 · 0 comments
Open

Deleting course report store in block "configurable_reports" #232

fidanchik opened this issue Apr 12, 2023 · 0 comments

Comments

@fidanchik
Copy link

When deleting a course, the report is still present in the block configurable_reports (if you view it on the main page), although its status changes to "Deleted" and there is no way to delete it, when you try to click on any link in the report on the deleted course, an exception is thrown that the course has been deleted.
I think it is necessary to catch the course deletion event and then delete the corresponding report from the system.
The code does not implement a check for a deleted course.
Screenshot 2023-04-10 at 14-49-39 Error(1)
Screenshot 2023-04-10 at 14-45-10 Reports(1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant