ODK Briefcase is a Java application for fetching and pushing forms and their contents. It helps make billions of data points from ODK portable. Contribute and make the world a better place! ✨💼✨
Pulling a submission is not an atomic action so it's possible to only get a subset of media attachments or even not get the submission XML. This makes it really important to pull all files on subsequent attempts.
Steps to reproduce the problem
Pull a form with media
Cancel while some media attachments for a submission are being downloaded
Confirm that the submission directory only has partial media
Attempt a new pull, let it succeed
Confirm that the submission directory still only has partial media
Expected behavior
Either pull needs to be atomic for a submission or pulling again needs to check whether media files already exist before skipping them.
Software versions
Briefcase v1.17.4
Problem description
Pulling a submission is not an atomic action so it's possible to only get a subset of media attachments or even not get the submission XML. This makes it really important to pull all files on subsequent attempts.
Steps to reproduce the problem
Expected behavior
Either pull needs to be atomic for a submission or pulling again needs to check whether media files already exist before skipping them.