ibrigadir / opendatakit

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

forms automatically delete after being sent even when error #1016

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1.Send finalized form
2.If error message produced, submissions will not be sent.  
3. Surveys are deleted form "saved forms" and thus cannot be re-sent. 

What is the expected output? What do you see instead?

Ideally, surveys would not automatically delete so that if there is an error 
while sending, we can send again. 

What version of the product are you using? On what operating system?

ODK Collect 1.4.3 (1041) on a Nexus 7 Tablet. Android version 4.4.2

Please provide any additional information below.

Original issue reported on code.google.com by rchriste...@edify.org on 10 Jun 2014 at 7:18

GoogleCodeExporter commented 9 years ago
If the error occurs after the form was successfully sent to the server, then 
the form will be marked as 'sent' and not shown in the 'send finalized forms' 
screen.

However, if you go to that screen, access the menu, select 'Change View', and 
choose 'Show Sent and Unsent Forms', the form will appear.

Do you have evidence that the server did not receive the form?  What server are 
you using?

Forms are never deleted from the device except through direct, intentional, 
user action. This can be confirmed by going to the 'Delete Saved Forms' view -- 
the sent forms will appear in this list.

Original comment by mitchellsundt@gmail.com on 11 Jun 2014 at 8:02

GoogleCodeExporter commented 9 years ago
That is helpful, thank you! 

I have had two kinds of issues. 

One, you solved. Which is we see sent files on the "erase sent files" form but 
cannot re-send them. With the "change view" function, now we can!

The second type is that the form simply doesn't save. While I am suspicious it 
could be human error in the field, I keep getting reports back that the files 
are not saved at all and we cannot find them under "saved forms" or "deleted 
forms". Have you heard of this happening!

Thanks a million!

Original comment by rchriste...@edify.org on 12 Jun 2014 at 4:31

GoogleCodeExporter commented 9 years ago
For both problems -- are these associated with Force Close of the app? If so, 
can you test the ODK Collect build (link e-mailed on the opendatakit@ and 
opendatakit-developers@ groups) on a few of your devices to see if that 
eliminates the Force Close?

Returning to the first problem -- are you sending to an ODK Aggregate server? 
It should never return a 'success' outcome unless the data was successfully 
submitted and is available on the server. 

W.r.t. the form saving. Is this associated with a Force Close? 

Recovery checkpoints of the form are saved with each page advance. These can be 
recovered by choosing "Fill Blank Form" and selecting the form that crashed. 
This should present the user with the contents of the form as it was before the 
crash, either with or without the data from the last page.

Original comment by mitchellsundt@gmail.com on 12 Jun 2014 at 5:01

GoogleCodeExporter commented 9 years ago
That was helpful. thank you!

Original comment by rchriste...@edify.org on 20 Jun 2014 at 2:38

GoogleCodeExporter commented 9 years ago

Original comment by mitchellsundt@gmail.com on 8 Aug 2014 at 12:41