Fixes for MultipleChoiceOption and FeedbackOption API
This merge request fixes two things:
- Deleting a
FeedbackOptionwill now throw an error if it is coupled to aMultipleChoiceOption - Inserting a
MultipleChoiceOptionwill now check theproblem_idparameter to see if an actualProblemwith the specifiedproblem_idexists.
Fixes #51 (closed) and #55 (closed)
Note: It might be useful to merge !16 (merged) first, since I can write test code for this MR.
Edited by Ghost User