getodk / briefcase

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! ✨💼✨
https://docs.getodk.org/briefcase-intro
Other
60 stars 156 forks source link

On export, skip encrypted submissions with manifest but no .enc file and mark as failed #895

Open lognaturel opened 3 years ago

lognaturel commented 3 years ago

Software versions

Briefcase v1.18 and prior

Problem description

Submissions to encrypted forms can be missing the submission file itself. In that case, export crashes.

See https://forum.getodk.org/t/odk-briefcase-1-18-export-failing-with-encrypted-forms/31069

Steps to reproduce the problem

Set up an encrypted form with submissions. Delete the .enc file for some submissions. Try to export.

Expected behavior

Export should not crash. Incomplete submissions should be marked as problematic.

Other information

Similar to https://github.com/getodk/briefcase/pull/884