Could not recode [multichoice|truefalse] answer id random######-###### for state ######

Could not recode [multichoice|truefalse] answer id random######-###### for state ######

by Andrew Greig -
Number of replies: 1
Trying to restore a course backup that includes userdata for a quiz and I am getting several of the following three types of errors:


Could not recode truefalse answer id random248828-790606 for state 3769312
Could not recode multichoice answer id random247789-788657 for state 3769313
Could not recode newest state id 3769305

A sample backup file that can be used for testing can be obtained here: https://p2.kvcc.edu/morp/broken_backup.zip

We are running version 1.9.4 build 20090205
backup version 2008030301 (obtained from within the moodle.xml backup file)

Can anyone help out with this?

Regards,

Andrew



Average of ratings: Useful (1)
In reply to Andrew Greig

Re: Could not recode [multichoice|truefalse] answer id random######-###### for state ######

by Wen Hao Chuang -
We also have this problem on our production site. The backup file was created on a heavily customized 1.9.0 codebase and I'm trying to restore it on the most recent 1.9.5+ codebase, but got these errors:

........
  • Creating scales
  • Creating events
  • Creating course modules
    • Forum "News forum"
    • Quiz "Practice Midterm 1" . . . . . . . . . . . . Could not recode newest state id 21582065
      Could not recode newest graded state id 21582065
      Could not recode newest state id 21582066
      Could not recode newest graded state id 21582066
      Could not recode newest state id 21582067
      Could not recode newest graded state id 21582067
      Could not recode newest state id 21582068
      Could not recode newest graded state id 21582068
  • . . . . . . . . Could not recode newest state id 21585724
  • ......

It seems that this might be related to MDL-15489, which a lot of people voted for it but has not yet resolved.

Some characteristics of the backup course that I ran into problems:

1. There are several quizzes that are randomly drawing 40+ questions from a lot (10+) quiz categories, and most quiz categories contain more than 20 - 30 questions. See:

http://yfrog.com/0vlotsofquizcategoriesp

2. Not sure if this is related, but total # of students in this particular course is over 50+.

Anyway, there are more info in the MDL-15489. Go vote for this ticket (please create an FREE account on tracker.moodle.org if you do not have an account yet, then locate this ticket and vote for it. Thanks!)

Wen
Average of ratings: Useful (1)