wsharba / opendatakit

Automatically exported from code.google.com/p/opendatakit
0 stars 1 forks source link

Infinity and -Infinity values in decimal field submission cause 500 Unexpected Exception #1035

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. upload (attached) form to latest Aggregate
2. load the form in ODK Collect
3. submit

What is the expected output? What do you see instead?
Submission to be successful, returning 201

What version of the product are you using? On what operating system?
Latest aggregate on appspot.com

Please provide any additional information below.
The same issue occurs for Infinity, -Infinity and NaN (though the latter is not 
a possible output by ODK Collect)

Original issue reported on code.google.com by mart...@enketo.org on 25 Jul 2014 at 3:55

Attachments:

GoogleCodeExporter commented 9 years ago
Probably won't ever fix. This would require a rather substantial change to ODK 
Aggregate. Need to figure out where to document this...

Original comment by mitchellsundt@gmail.com on 7 Aug 2014 at 11:35

GoogleCodeExporter commented 9 years ago
Would it be possible to avoid un-submittable records in some way? E.g. by 
replacing those 3 values with an empty string before they are processed further?

Original comment by mart...@enketo.org on 12 Aug 2014 at 10:03