Found an error during testing that was caused by one of the previous patches. The check to see if the student had passed the quiz was missing the uid parameter. This was resulting in a situation where non quiz creators could not get passed the quiz check if anyone had passed that quiz.

This patch fixes the issue. It is based on:

http://drupal.org/node/27133
http://drupal.org/node/88675
and the administer quizzes patch from http://drupal.org/node/26998

Currently, we are looking to commit all four of these patches today to help keep the version confusion to a minimum. My apologies for the bug and as always, suggestions are welcome.

CommentFileSizeAuthor
quiz_passed_fix.patch2.15 KBseanbfuller

Comments

seanbfuller’s picture

Status: Active » Needs review
seanbfuller’s picture

Status: Needs review » Fixed

Committed to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)

  • Commit 776a187 on 4.7.x-1.x, 5.x-1.x, 5.x-2.x, 6.x-2.x, 6.x-3.x, 6.x-4.x, 6.x-5.x, 6.x-6.x, 7.x-4.x, master, 7.x-5.x by seanbfuller:
    #90376 by seanbfuller: Fixes a critical bug where students could not...

  • Commit 776a187 on 4.7.x-1.x, 5.x-1.x, 5.x-2.x, 6.x-2.x, 6.x-3.x, 6.x-4.x, 6.x-5.x, 6.x-6.x, 7.x-4.x, master, 7.x-5.x, quiz-pages by seanbfuller:
    #90376 by seanbfuller: Fixes a critical bug where students could not...

  • Commit 776a187 on 4.7.x-1.x, 5.x-1.x, 5.x-2.x, 6.x-2.x, 6.x-3.x, 6.x-4.x, 6.x-5.x, 6.x-6.x, 7.x-4.x, master, 7.x-5.x, quiz-pages, 2269219 by seanbfuller:
    #90376 by seanbfuller: Fixes a critical bug where students could not...

  • Commit 776a187 on 4.7.x-1.x, 5.x-1.x, 5.x-2.x, 6.x-2.x, 6.x-3.x, 6.x-4.x, 6.x-5.x, 6.x-6.x, 7.x-4.x, master, 7.x-5.x, 2269219 by seanbfuller:
    #90376 by seanbfuller: Fixes a critical bug where students could not...