Notice: Undefined property: LongAnswerResponse::$answer_format in LongAnswerResponse->getFeedbackValues()

Created on 14 July 2017, over 7 years ago
Updated 20 September 2024, 4 months ago

When I view the results of a Quiz containing questions of type long_answer I get the following error message:

Notice: Undefined property: LongAnswerResponse::$answer_format in LongAnswerResponse->getFeedbackValues() (regel 310 van /Users/fabianderijk/Sites/dubbelklik/sites/all/modules/contrib/quiz/question_types/long_answer/long_answer.classes.inc).

I've added a check that checks if answer_format exists, if not just use check_plain instead of check_markup. This way the error won't show up. I will upload the patch up next.

πŸ› Bug report
Status

Fixed

Version

5.0

Component

Code - Quiz core

Created by

πŸ‡³πŸ‡±Netherlands fabianderijk Alphen aan den Rijn

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024