Greetings - we're running Moodle v3.0.2; For one course, the grade book was not calculating correctly. A category was not totaling, so a colleague created a new category and moved the items that were within the erroneous one. This seemed to resolved the issue. we deleted the old category, however, as soon as we did so the grade book became inaccessible.
I ran debugging, here are the main results:
- Attempt to obtain a grade_category's associated grade_item without the category's ID being set.
- Can not regrade non existing category
- Can not update grade object, no id!
siteurl/grade/edit/tree/index.php?id=123 gives "isn't working message"
Attempted to get to edit category pages by adjusting the courseid/categoryid in another course's page, but this brings up a page showing the course title and the breadcrumb, with everything else blank.
I'll have to move forward with a restore, but either my colleague didn't actually move all the items out of the categories before deleting them, or there is a major flaw with deleting categories.