Thank you for implementing this feature it is going to be really useful for our enumerators (and save me some ear ache). I have a couple of issues.
Firstly, when downloading a form with last-saved for the first time I keep getting an error:
Unable to parse external secondary instance:java.ioFileNotFoundException: /storage/emulated/0/odk/forms/1581429444770/last-saved.xml(No such file or directory)
Problem found at nodeset: html/head/model/instance With element
Copying media files failed.
The only way I’ve managed to get around this is using another form to save an image – therefore creating a folder on the device. Am I doing something wrong?
Once I have downloaded the form I’m also getting issues relating to used last-saved in for question within repeats. When I save a form with more than one repeat I get the error:
XPath evaluation: type mismatch
This field is repeated:
instance(__last-saved)/data/welfare_repeat/Q2x1: instance(__last-saved)/data/welfare_repeat/Q2x1: instance(__last-saved)/data/welfare_repeat/Q2x1
You may need to use the indexed_repeat() function to specify which value you want.
Attached is an example.
SCOPING_Last_saved.xlsx (32.7 KB)