Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple choice answers serialised as array of arrays #19

Open
ghost opened this issue Oct 27, 2016 · 0 comments
Open

multiple choice answers serialised as array of arrays #19

ghost opened this issue Oct 27, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 27, 2016

the problem is in SurveyAnswer line 89,
multiple answers are stored as an array not a list.
Here's a quick fix to be added:

if(result.getClass().isArray()){
Object[] asarray = (Object[]) result;
choiceAnswers = Arrays.asList(asarray);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants