When regrading stops: Can not find wrapped question

When regrading stops: Can not find wrapped question

by Abdel-Elah Al-Ayyoub -
Number of replies: 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

Average of ratings: -
In reply to Abdel-Elah Al-Ayyoub

Re: When regrading stops: Can not find wrapped question

by 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