In short_answer_score_an_answer() function it is assumed that answer feedback values are always exist, but actually there can be situations when they are not. For example, when saving truefalse or multichoice type scoring form value's, the textareas for answer feedbacks are not exist, neither their values.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

balazswmann’s picture

Assigned: balazswmann » Unassigned
Status: Active » Needs review
FileSize
1.35 KB

I have attached a patch to fix the problem.

balazswmann’s picture

Issue summary: View changes
falcon’s picture

Status: Needs review » Fixed

Good job!

  • falcon committed f1dbd30 on 7.x-4.x authored by whitelikeman
    Issue #2266299 by whitelikeman: Undefined answer feedback when saving...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.