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

Data analysis export does not create separate columns for multiple option questions #3260

Closed
janagombitova opened this issue Oct 28, 2019 · 3 comments
Assignees
Milestone

Comments

@janagombitova
Copy link
Contributor

Via support, we learned that the Data analysis export no longer creates the separate option columns for multiple select option questions. In this issue, we limited the splitting of option questions #2400 to only apply for multiple select option questions. This is no longer happening.

Below is an example of random data: UAT1 > _Lumen tests > Example dataset
In the attached file column AP holds multiple option question data but as you can see there are no option columns. Other splitting (photo geotags and cascades) work as expected.

DATA_ANALYSIS-554339123 (4).xlsx

@janagombitova janagombitova added this to the 1.10.1 milestone Oct 28, 2019
@stellanl
Copy link
Contributor

Just saw another restriction in the exporter, too: The image filenames are assumed to contain a slash or they will not show up.

@stellanl
Copy link
Contributor

This happened because the allowOther and allowMultiple flags exist both in the QuestionDto and its child, QuestionOptionsDto. The db-fetching code filled in the former; the published-form parser the latter. The cell-splitting code looked at the QuestionDto. Both code paths will now fill in both.

iperdomo added a commit that referenced this issue Oct 30, 2019
stellanl added a commit to akvo/akvo-flow-services that referenced this issue Oct 30, 2019
@janagombitova
Copy link
Contributor Author

Works like a charm 👍

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

2 participants