- π¬π§United Kingdom oily Greater London
My feeling is that this should be closed.
- Status changed to Closed: works as designed
5 months ago 3:19pm 26 August 2024
When quiz feedback is enabled in quiz settings to provide feedback after each question, the question text is rendered twice.
Create quiz, add questions, add feedback to the quiz questions, enable feedback during the quiz. Start the quiz. You should get feedback after each question. The rendered view renders the question text twice. (See the screenshot).
The output is controlled in the alterBuild() function in the QuizResultAnswerViewBuilder.php file. It seems that the default view mode should be used to render the question, otherwise loop through custom view modes and use one of them to render it. It might be best to loop through custom view modes and if none are returned, use the default view mode.
Try a few different control structures. Test it out manually in quizzes.
Remove duplicated text from view.
Closed: works as designed
6.0
Code - Feedback/results
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
My feeling is that this should be closed.