Duplicating quizzes messes up results
-
Hello!
I have doublechecked it. If you clone a quiz by selecting duplicating it from a previously done quiz (which is obviously a nice feature so i don’t have to fill out all the fields again and so forth), the results are added for the DUPLICATED quiz id as well, not just the new one.
So, if there is quiz_id 5, and i duplicate it to be quiz_id 6, when i put quiz_id 6 shortcode to be completed by the users, if they do it, they get an incorrect/0 score on the results database table for the cloned id 5 as well, not just the id_6 one.
Easy to reproduce:
Simple to recreate, create a quiz, add one question. You get quiz id X
Now duplicate that quiz, include the question as well, don’t even adjust the question if you don’t want, just use the quiz id X+1 that is the new duplicated quiz, ptu the shortcode in a post, finish the quiz (either right or wrong answer will do), and the database will enter the current X+1 quiz results, AND the X result as well as an empty answer/0 points/score.Hotfix maybe? ??
- The topic ‘Duplicating quizzes messes up results’ is closed to new replies.