akvo / akvo-flow

A data collection and monitoring tool that works anywhere.
http://akvo.org/products/akvoflow/
GNU Affero General Public License v3.0
65 stars 31 forks source link

Cascade question export bug #1168

Closed mtwestra closed 9 years ago

mtwestra commented 9 years ago

BTC reports a problem with the export of data (using question id as headers) for cascade question data.

The issue is that the cascade data is split correctly, but then placed into the wrong columns. See image below: screen shot 2015-03-02 at 14 55 19

instance: http://ctbburundi.akvoflow.org/ surveygroup: Burundi / DBM_BISEM_VF form: 01_identification

It could be related to a misunderstanding of the number of columns.

jonase commented 9 years ago

Test plan

Background

When we export a report using the "Use Question Ids" option we split the cascading answers into separate columns (one for each level). The problem is that the number of columns can change (if the form is republished).

Test


rumca commented 9 years ago

tested on release/1.8.3 and everything works as expected.

@jonase I think we need to present an award for "Best Test Plan" at some point :laughing:

jonase commented 9 years ago

@rumca, @muloem :smile: Here's my nomination: https://github.com/akvo/akvo-flow/issues/818#issuecomment-65885873

rumca commented 9 years ago

@jonase @muloem haha I'll start keeping a shortlist and perhaps we can have an award ceremony at the developer week :+1: