My customer said to me yesterday "how can I edit the questions in a quiz?". Simple enough, right?
the only constraint that I was aware of is attempts. You can only edit a quiz that has not been attempted. Makes sense. If you want to edit the quiz, you have to remove the attempts. Moodle makes this somewhat easy to see attempts on the quiz. Drill down into the quiz and you should see a link to the attempts for the quiz. Or choose Quizzes from the Activities block (you may need to turn this block on).
Click on the Attempts, and you can select them and remove them.
Select the attempts checkbox to the left and click the Delete selected attempts. This is where it got interesting for me. Notice at the top of the image it says Attempts 6. But, there are only 5 showing.
Hmmmmm. This was consistent for each quiz in this course. What is this Ghost attempt? I tried for too long to remove this ghost attempt. I looked in the moodle docs at quizzes, attempts, editing. Nothing about what to do when moodle reports an attempt, but it is not there.
My solution to correct this problem so my customer could edit the quiz was to duplicate the quiz on the home page. Turn on editing and click the nice little x2 icon.
Upon duplicating the quiz, the ghost attempt disappeared and I was able to edit the quiz.
Notice the X to the right of the question - proof of adding / removing question capability.
As opposed to this when there is still an attempt hanging around.
Moral of the story? If you get an attempt that cannot be removed, duplicate the quiz from the home page and edit your quiz.





No comments:
Post a Comment