- πΊπΈUnited States smustgrave
With D7 EOL approaching starting to triage the D7 quiz queue. Since there is no patch and not moved in 4 years going to close out. But if a problem in 7.0.x please reopen
I'm a little confused about how the Quiz result answer display and QuizResultAnswerController
works, specifically around some of the question feedback.
For example, I'd like to display the user's choice but only the last choice configured on the question is appearing. In TrueFalseResponse->getFeedbackValues()
an array of possible choices is getting returned (true and false). But if you look at QuizResultAnswerController->buildContent()
when it loops through the feedback values it appends the results to $out
, but $out
isn't an array of feedback so only the last iteration's values get saved.
Is there something I'm missing about how that should work, or should $out[$reviewType]
be changed to $out[$idx][$reviewType]
? (Although when I do make that change the output doesn't make a lot of sense, either). Or is there some logic missing to find and show the correct value out of the feedback array?
Closed: outdated
5.0
Code - Feedback/results
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
With D7 EOL approaching starting to triage the D7 quiz queue. Since there is no patch and not moved in 4 years going to close out. But if a problem in 7.0.x please reopen