I'm not sure if this is a bug or expected behavour.
This issue sounds like this one https://www.drupal.org/node/2270019 but that was closed as being a duplicate of another which has been fixed.
During testing, one admin user who was configuring questions got this message when they were trying out the amended quiz.
It used a single quiz page with a number of multiple choice questions on it, and the user had already "passed" the quiz previously when it had fewer questions.
This was due to the "Allow backwards navigation" option NOT being selected for the course. The function quiz_access_question() in quiz.module returns FALSE if this option is not selected and you have passed the quiz even though you are trying to access node/xxx/take/1 which is the quiz page not an actual question.
I'm not familiar enough with the uses of this bit of code to suggest any fixes, if indeed it needs fixing. However, checking the backwards navigation option for the quiz seems to avoid the problem.
Bug or expected behaviour?
Comments
Comment #2
djdevinOne thing to check here would be the revisioning on the Quiz - if you are taking a quiz in between revisions you may have issues. Make sure to delete any existing attempts when testing a Quiz.
Other than that I think there would be a few issues with restricting backwards navigation when pages are in play.
If you could work out exact steps to reproduce we can try and identify the issue.
Comment #3
djdevinmight be related to #2516702: Allow resume does not work with backwards navigation disabled too
Comment #4
donaldp CreditAttribution: donaldp as a volunteer commentedThanks. I will try to come up with some sort of simple replication procedure. I'm short of time at present (aren't we all?) but will try to do this in a few days time.
Comment #5
djdevinDupe of #2516702: Allow resume does not work with backwards navigation disabled which has been fixed.