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