canvas-lms/app
Josh Simpson ad7d4b04fb fix answer comment saving/display problem
fixes CNVS-10148
this commit addresses a bug where answer comments were not being saved
on numerous question types. a RawFields#fetch_any method was added, to
deal with both old question data and new question data.

Test plan:
1. Create a quiz with each question type: Matching, Fill in the Blank,
Fill in Multiple Blanks, Multiple Choice, Multiple Dropdowns, and True/False,
and add relevant answer comments to each.
2. Note that all answer comments are saved.
3. Take the quiz, and ensure all questions are working properly
4. Review the quiz results, and note the answer comments you previously
created are displaying.

Change-Id: I99324efdfeb79aa1e386f215897e4aad1036cfc5
Reviewed-on: https://gerrit.instructure.com/27887
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Derek DeVries <ddevries@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Product-Review: Derek DeVries <ddevries@instructure.com>
2013-12-26 21:11:11 +00:00
..
coffeescripts make discussion index tolerant of nil authors 2013-12-23 22:49:06 +00:00
controllers import ActiveModel::Serializers port and convert quizzes api to it 2013-12-26 20:32:39 +00:00
helpers import ActiveModel::Serializers port and convert quizzes api to it 2013-12-26 20:32:39 +00:00
messages Merge pull request #379 from Kulgar/peer-reviews-bugs 2013-12-19 08:53:06 -08:00
middleware change encrypted cookie store to fix session timeout plugin 2013-12-05 21:08:50 +00:00
models fix answer comment saving/display problem 2013-12-26 21:11:11 +00:00
observers don't include submissions in recent_stream_items 2013-01-03 15:42:39 -07:00
presenters filters unpublished assignments out of student grades page 2013-12-18 21:46:58 +00:00
serializers import ActiveModel::Serializers port and convert quizzes api to it 2013-12-26 20:32:39 +00:00
services Quiz Submissions API - Create & Complete 2013-12-19 06:44:28 +00:00
stylesheets Revert "add new profile modal layout" 2013-12-21 00:18:08 +00:00
views gb2 dialogs in screenreader gradebook 2013-12-23 22:19:32 +00:00