I also have an import bug for Aiken. Mine is using the latest 6.3 dev release.
When importing using this method, the question before tells the next question how many ABCD's there will be.
For example I imported the following.
What percentage of infertility is related to male factor alone?
A. Less than 15%
B. Greater than 90%
C. 5-29%
D. 30-40%
ANSWER: D
There has been a significant decline in sperm density (count) the past 60 years
A. True
B. False
ANSWER: A
But after the import, the actual quiz module shows this (i've bolded the errors):
What percentage of infertility is related to male factor alone?
A. Less than 15%
B. Greater than 90%
C. 5-29%
D. 30-40%
ANSWER: D
There has been a significant decline in sperm density (count) the past 60 years
A. True
B. False
C. 5-29%
D. 30-40%
ANSWER: A
Since the first question has ABCD, but the next question only has AB, the module seems to copy the CD from the question before.
This second question should only have A and B. But after importing, it added C and D from the question directly before it. It seems to do this consistently.
I hope this is clear enough for a fix. Ive got about 50 quizes I need to import but cannot because of this bug. It does not seem to be an issue when the question before has less ABCD's than the next question. (Or, if all the questions have the same number of ABCDs).
Thank you for anything you can do to resolve this.
Comments
Comment #1
srikanthlogic commentedI am not sure if this exists in 6.4 since i have imported these kind of questions without any issues.
Comment #2
mach5_kel commentedGood to know, but that doesnt help 6.3.
I know that new features are not being added, but bugs are still being fixed. Otherwise it should be marked as no longer supported (which I dont think is the case).
Any movement on this one? Thanks :D
Comment #3
L0rne commentedThe following fixes the problem.
in the file "questions_import.admin.inc", in the function "questions_import_submit_aiken", add the line
$options = array();
as below:
I would do up a patch, but I mangled my copy of "questions_import.admin.inc" looking for the problem. I'll grab a new copy and post a patch if I get some time.
Comment #4
falcon commentedThis issue will be closed when Quiz 4 is released.
Comment #5
falcon commented