- πΊπΈUnited States smustgrave
This something that needs to be committed for last few release of D7 quiz?
When having a full setup of quiz and submodules and adding quiz result display settings, somehow it breaks.
When quiz results cannot get a proper layout it breaks and the quiz cannot be taken because of the next error:
Notice: Undefined offset: 27 in QuizResult->getLayout() in QuizResult.class.inc
Warning: Invalid argument supplied for foreach() in quiz_take_quiz() (line 1886 in quiz.module
I think it would be nicer to set a check if there's a layout, so it cannot break the process.
Postponed: needs info
5.0
Code - Quiz core
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
This something that needs to be committed for last few release of D7 quiz?