annotate examples/test.json @ 33:00e12392f8d4

Fix saving uploaded form file to a temporary file The file must be saved to a temporary file for conversion via pyuno. pyuno can only accept filenames. Also the file position must be reset to the start. If the position is not reset we will get a IllegalArgumentException: Unsupported URL from pyuno when converting a file without template rendering.
author Björn Ricks <bjoern.ricks@intevation.de>
date Thu, 16 Oct 2014 11:45:51 +0200
parents 195306a622e0
children
rev   line source
12
195306a622e0 Add some very basic example data
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
1 {
195306a622e0 Add some very basic example data
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
2 "test": "Hallo Welt!",
195306a622e0 Add some very basic example data
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
3 "test2": 100
195306a622e0 Add some very basic example data
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
4 }
195306a622e0 Add some very basic example data
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
5
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)