Moodle allows to add unlimited Random Questions to a Quiz from any category I have. However, when attempting the quiz, the follow error is reported:
"There are not enough questions in category XX to create the question Random
Debug info:
Error code: notenoughrandomquestions
Stack trace:
line 198 of /mod/quiz/startattempt.php: moodle_exception thrown"
Seems to be obvious that a user should not be able to add more random questions than the total number of a category, since that there will not be duplicated questions in the quiz.
This is a known bug? Or.. how could I solve that?
I'm using Moodle 2.5.4