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
717 stars 1.38k forks source link

Finalized form after resetting blank forms #6496

Open dbemke opened 2 weeks ago

dbemke commented 2 weeks ago

ODK Collect version

the store version 2024.2.4, the master version 8b72cd6469bed72f3c4d581718e14dba516a236c

Android version

10, 14

Device used

Redmi 9T, Pixel 7a

Problem description

If a user resets blank forms when there’s a finalized form, there are confusing pieces of information what happens to the form afterwards (described in steps below).

Steps to reproduce the problem

  1. Finalize a form.
  2. Go to Settings – Project Management- Reset and select Blank forms and reset them.
  3. Go to Ready to send and open the form (there's information that it's a draft). finaliedDraft
  4. Send the form.
  5. Go to "Sent" and check the subtext under the form ("Deleted form").
  6. Reopen "sent" again and check the subtext ("Sent").

    Expected behavior

    In the information form step 3 it shouldn't be draft. After sending the subtext of the form in "Sent" should be "Sent"

seadowg commented 2 weeks ago

@dbemke I'm not able to reproduce this. Everything is the same until step 4: when I send the form it still gets submitted to the server (I can see the submission on Central).

dbemke commented 2 weeks ago

it still gets submitted to the server (I can see the submission on Central).

Can it depend on the server? I tried twice on test.getodk.cloud and the submission was there, then I tried on staging and there weren't submissions

dbemke commented 2 weeks ago

Ok. I think I found it it's staging bug (probably).. the submission is there. I'll investigate it a bit more and edit the issue

seadowg commented 2 weeks ago

Go to Ready to send and open the form (there's information that it's a draft).

Could you add a screenshot of this?