I have been trying to fix this issue but still no luck.
I am adding a new Quiz and when I add the multiple choice questions from 1 - 15 they are not displayed in order. It is very strange. The order is 1, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 15
I have checked the weight order an it is correct: 1-1, 2-2, 3-3, ...
Any ideas on this? I have cleared the cache too.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | Screen Capture Multiple Choice Question Viewed.JPG | 68.25 KB | leigen |
| #11 | Screen Capture of New Content Creation Screen.JPG | 68.66 KB | leigen |
Comments
Comment #1
sivaji_ganesh_jojodae commentedQuestions order will not reflect on already started quiz. This is because when the quiz starts the questions are loaded to session variable and it remains persistent till the end of quiz or until you logout. Unfortunately quiz starts when you click "view" tab or title of quiz node and most of the time you will *not* realize this. A logout and login may fix this. Let me know if this works.
Comment #2
sonlinemedia commentedYeah I have tried to logout and login and created a new user to test it. I have also deleted the old test records and still have the same issue.
Comment #3
aangel commentedI'm getting the same thing. The order of the questions on the Manage Questions tab changes for me i.e. they don't stay put. I'm constantly reordering but then a small change sends them out of order again.
Comment #4
aangel commentedSorry...didn't realize this issue was for multichoice. My issue occurs with all questions. I'll see if there is another issue that discusses what I'm seeing.
Comment #5
sonlinemedia commentedThanks aangel please repost if you find another issue that discusses this.
Comment #6
brian_c commentedI am seeing this EXACT same issue, and it also happens for a brand new user so it can't be a pre-existing session thing.
I have two 10-question multichoice quizzes, they both display in the exact same incorrect (but consistent) pattern bcuree is seeing:
1, 9, 8, 7, 6, 5, 4, 3, 2, 10
It starts with the first question, then jumps to the 2nd last question, and goes backwards until it reaches question #2, then finally it displays the last question.
In other words, it's displaying in reverse order, except the first and last questions.
This is a pretty serious problem. Running latest (3.5) code.
Comment #7
brian_c commentedI have fixed my issue.
Despite the ordering of the questions appearing correct in Manage Questions, when loading questions from the DB all the weights were coming back as zero (I confirmed this by adding debug output to quiz_build_question_list()).
So for quiz 1, I simply saved them again from Manage Questions, and this added a correct sequence of weights.
HOWEVER, for quiz 2, this wasn't working, I kept getting "Validation error, please contact admin if this persists" when I tried to save from Manage Questions. So, I turned off Javascript and reloaded Manage Questions, this showed the weight fields as simple text boxes... I filled in the values manually and now quiz 2 is working as well.
As to how the weights all became 0, I don't know. Is this related to "Questions change order after editing questions" (http://drupal.org/node/728134)? All weights are reset to 0 if you edit questions?
Comment #8
leigen commentedI have had the same problem. However the first question is always first and after that I think it might be related to the last update of the question. Has anyone checked this out. I love the module but can;t use it until I can fix this order presentation problem.
Comment #9
leigen commentedI tried the new Beta in the hopes that it would fix the questioon order problem. I think that if may have solved that probmen but I am not sure because I can no longer see the full question. The stem of the multiple choice item displays but the answer alternatives do not. So the user has no way of answering. Further, I am unable to edit the questions.
I am not complaining as this is what happens with beta versions, but I wanted to get you the feedback. If there is anything that you want me to try I will be glad to do it. Further, if it will help you in development I can give you administrator access to my development site that is using the quiz. It is a fairly large site with many modules so there is always the possiblity of an interaction of modules situation. Let me know if I can help. I love the module and really hope that we can develop a robust training and education capability in Drupal.
Comment #10
falcon commentedI think this issue should be fixed in the latest development release of Quiz 4. Could you test with Quiz 4 dev?
Comment #11
leigen commentedSorry for the delay in responding but I have been involved in a crash project. As you suggested I tried the latest version of Quiz 4 Dev. The order problem seems to be solved, but the display of multiple choice and True/False questions are faulty.
Essentially, the stems of the questions display properly but the alternative answers and the check boxes do not display at all. This is so when
a) a user takes the quiz.
b) an administrator Views the content.
C) an administrator clicks edit and tries to edit the multiple choice question.
What is really strange is that I cannot add new content for the question types like Multiple CHoice. I select create content and get SOME of the variables to be configured, but not even the text areas to creat the stem much less the response alternatives. I am attaching a screen capture so you may see what I mean. I am also including a screen capture of the appearance of a multiple choice question. As I said, the alternatives and the check boxes never display.
While with the early versions of Quiz, entering new content was easy, the order kept changing. Now the order seems consistent, but ....
Comment #12
falcon commentedI mark this one as fixed since the issue in #11 is totally different.
Regarding #11:
Does this apply to all questiontypes or only multichoice? Maybe it applies to both multichoice and scale?
(I suppose you have run update.php, and deleted your cache?)
Comment #13
falcon commented