Skip to content
Snippets Groups Projects

Fix relation between MultipleChoiceOption and FeedbackOption

Merged Ghost User requested to merge fix/mco-feedback-rel into develop
+ 0
2
@@ -141,8 +141,6 @@ class Feedback(Resource):
# Delete mc_options associated with this feedback option
if fb.mc_option:
# Check if the exam with this feedback option
if fb.problem.exam.finalized:
return dict(status=401, message='Cannot delete feedback option'
+ ' attached to a multiple choice option in a finalized exam.'), 401
Loading