Closed Geerts closed 8 years ago
The answer data contains numbers both with and without a decimal point for the same question, e.g. "1" and "1.0". On the raw data sheet all NUMBER answers gets forced into a number cell, which hides the difference. The summary code, otoh, treats all answers as strings, so "1" and "1.0" gets tallied separately. Simplest solution is to format all NUMBER answers into canonical form before summarising.
Before, two cells were shown for the value 1: and after:
(you can skip steps 1-3 if the current results are still there):
@stellanl do you know if the commits for this issue are part of release/1.9.6 (it looks like they are)?
If they are, then something is going wrong with this fix. When I create a number question, submit some responses with and without .0 I see the below:
Since that service runs in another place than the rest of FLOW, I guess we need to check that it was deployed
Does not look like it was. Dated August 2015: stellan@test2:~$ ls /var/akvo/flowexporter/jars/ -al total 172648 drwxr-x--- 2 flowexporter root 4096 Aug 20 2015 . drwxr-xr-x 8 flowexporter flowexporter 4096 May 27 2015 .. lrwxrwxrwx 1 flowexporter flowexporter 58 Aug 20 2015 current.jar -> /var/akvo/flowexporter/jars/flowexporter-build292-test.j ar -rw-r--r-- 1 flowexporter flowexporter 88387528 Aug 20 2015 flowexporter-build291-test.jar -rw-r--r-- 1 flowexporter flowexporter 88387547 Aug 20 2015 flowexporter-build292-test.jar
redeployment has indeed fixed the "issue", test plan now passes as described :+1:
Example in http://sig.akvoflow.org/admin/ , ID 20500916