When regrading stops: Can not find wrapped question

When regrading stops: Can not find wrapped question

על ידי Abdel-Elah Al-Ayyoub בתאריך
מספר תגובות: 1
We used 1.6 dev and we were unfortunate to upgrade in a bad development phase which generated some duplicates and inconsistencies in our database. Now we have a particular problem: When regrading a quiz it stops in the middle of the second question with the following error message. Is there away to make the script skip the troublesome cases and proceed regrading?

Can not find wrapped question 40934

Wrapped state missing

ממוצע דרוגים: -
בתגובה ל: Abdel-Elah Al-Ayyoub

Re: When regrading stops: Can not find wrapped question

על ידי ETH Zürich בתאריך
Hello Dr Ayyoub
states are fully loaded with rubish data
and strange format: syntax
it is a moodle bug;
u can download latest quiz/locallib.php to fix the bug unless martin didnt fix the
bug......

anyways; i cleaned the data and u can regrade now; it may appears unless u upgrade the latest version


good luck