Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Surveys Crash on Free Response with multiple answers #1
Issue: SurveysController (create,update)
If a Survey is created that allows a Free Response to the question, the application will choke if you add more than one Answer to that Question. The Controller should check each question to see if it allows for a free response, and if so, check how many answers were supplied for this question. If it is more than one, it should return an error and
Since a question cannot be valid without an answer, if you want to make a question that has a Free Response, you must supply exactly one answer to that question.