Closed (fixed)
Project:
Quiz
Version:
6.x-3.x-dev
Component:
Code - Multichoice
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
7 Oct 2008 at 09:20 UTC
Updated:
11 Mar 2009 at 18:40 UTC
When a user goes back to a previous question using the backwards navigation, and he gives the same answer to the question, he gets an error message:
user warning: Duplicate entry '27-4-4-5' for key 1 query: INSERT INTO quiz_multichoice_user_answers (question_nid, question_vid, result_id, answer_id) VALUES (4, 4, 27, 5) in /var/www/html/DRUPAL_SHARED_CODEBASE/includes/database.mysql.inc on line 172.
Don't know what would be a right solution to this. If we allow users to go back and answers the question again, we should overwrite or delete the previous user answer. Or not allow them to go back at all...
Comments
Comment #1
mbutcher commentedTested in Alpha 1 and the problem persists.
Comment #2
mbutcher commentedResolved in latest dev version. This will be rolled into Alpha 2.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #4
dadderley commentedProblem exists in version 6.x-3.x-dev