wsharba / opendatakit

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

JSON publisher does not seem to handle publishing multiple rows at a time correctly #962

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Reported by a user (simple JSON code does look broken)

I am trying to export form submissions to JSON using Aggregate Server. When 
using the export tool in the "Submissions" tab all works well and I get a valid 
JSON file as long as only one submission is present, but I get a corrupted file 
when two or more submissions are present. 

I have tried to export when the submissions are filtered, to display only one 
submission, and also when submissions per page is set to 1. In both cases all 
submissions present are exported and errors appear when I try to open or 
process the file. 

I get the following error in my JSON Editor:

Error: Parse error on line 1:
...-969f-caeca969bd92"}{"data_submitter":"E
-----------------------^
Expecting 'EOF', '}', ',', ']', got '{'

Any ideas...workarounds?

Original issue reported on code.google.com by mitchellsundt@gmail.com on 20 Jan 2014 at 3:22

GoogleCodeExporter commented 9 years ago
I have applied a fix; it will be in the next ODK Aggregate release (1.4.1) 
planned for the end of January / beginning of February.

Original comment by mitchellsundt@gmail.com on 20 Jan 2014 at 3:37

GoogleCodeExporter commented 9 years ago
Closing -- this is fixed in 1.4.2

And was also fixed in the 1.4.1 installer re-release

Original comment by mitchellsundt@gmail.com on 13 Mar 2014 at 7:50