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

Record can't be found in course_categories table #174

Open
dcadiou opened this issue Dec 2, 2024 · 1 comment
Open

Record can't be found in course_categories table #174

dcadiou opened this issue Dec 2, 2024 · 1 comment
Labels
enhancement New feature or request minor bug Something isn't working but can be tricked

Comments

@dcadiou
Copy link
Collaborator

dcadiou commented Dec 2, 2024

When visiting some training page, an error message such as the following can pop up (in French):

Impossible de trouver l’enregistrement de données dans la table course_categories de la base de données.

image

In database,

select categoryid
from mdl_tool_attestoodle_training mtat 
where id = 2; -- 15890

select *
from mdl_course_categories mcc 
where id = 15890; -- vide !
@dcadiou
Copy link
Collaborator Author

dcadiou commented Dec 2, 2024

When a course_category is removed from the Moodle platform, but attestoodle still has a training that references it, there is no automatic cleaning method that delete the Attestoodle training too or display a notification to inform the user that this training is obsolete.

To sum up, Attestoodle is missing some obsolete category management.

@dcadiou dcadiou added enhancement New feature or request minor bug Something isn't working but can be tricked labels Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor bug Something isn't working but can be tricked
Projects
None yet
Development

No branches or pull requests

1 participant