getodk / collect

ODK Collect is an Android app for filling out forms. It's been used to collect billions of data points in challenging environments around the world. Contribute and make the world a better place! ✨📋✨
https://docs.getodk.org/collect-intro
Other
719 stars 1.38k forks source link

Finalized entity form gets deleted after resetting saved forms #6475

Closed dbemke closed 1 month ago

dbemke commented 1 month ago

ODK Collect version

the master version 41509c43d7db42057a09b98aa6f1e1b82d0d8187

Android version

10, 14

Device used

Redmi 9T, Pixel 7a

Problem description

A finalized registration and update form gets deleted after resetting saved form. First, the user sees the forms in "Ready to send” but after trying to open the forms, there’s information that the form was deleted and then the form is removed from "Ready to send”.

Steps to reproduce the problem

  1. Set auto send to "off”.
  2. Finalize a registration form and an update form.
  3. Go to Settings- Project management-Reset, select "Saved forms” and tap "reset”.
  4. Go to "Ready to send” and tap the finalized form.

    Expected behavior

    After changes introduced in #6460 it shouldn't be possible to delete (by resetting) a finalized entity form.