I have been working with my Moodle data in 2.2 prior to upgrading to 2.3. I want to make sure that my data is as good as can be before upgrading. First, I did a clean install of the latest Moodle 2.2, Moodle 2.2.4+ (Build: 20120719), then I moved my earlier 2.2 data into the new install. I did the XMLDB checks. Everything was fine, except for these foreign key violations (6 in total). I do not know what to do next. As I look at these, I wonder if they might have something to do with "old" questions. Maybe questions that were deleted from a test category, but might remain invisible because they were used in a quiz.
What do you think, Tim? I'll attach a graphic showing the errors.
After reading the posts in this topic, I get the impression that there is nothing else that I can do, except to pray that my database doesn't break.