TireSwingSoftware / openassign-server

OpenAssign server intended for use by a separate client via RPC
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

ExamSessionManager.create() might return a set() #87

Closed mhrivnak closed 12 years ago

mhrivnak commented 12 years ago

ExamSessionManager.create() might return data that includes one or more "set" instances, which will cause pyamf to barf and a 500 error to occur.

models.Response._get_choice_value() is the big culprit, although models.Question._get_valid_widgets() also might cause problems at some point.

Instead of sets, we should return lists.