Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finalized form after resetting blank forms #6496

Open
dbemke opened this issue Nov 5, 2024 · 5 comments
Open

Finalized form after resetting blank forms #6496

dbemke opened this issue Nov 5, 2024 · 5 comments

Comments

@dbemke
Copy link

dbemke commented Nov 5, 2024

ODK Collect version

the store version 2024.2.4, the master version 8b72cd6

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"

@dbemke dbemke changed the title Finalized entity form after resetting blank forms Finalized form after resetting blank forms Nov 5, 2024
@seadowg seadowg moved this from inbox to not ready in ODK Collect Nov 5, 2024
@seadowg
Copy link
Member

seadowg commented Nov 7, 2024

@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
Copy link
Author

dbemke commented Nov 7, 2024

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
Copy link
Author

dbemke commented Nov 7, 2024

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
Copy link
Member

seadowg commented Nov 7, 2024

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

Could you add a screenshot of this?

@seadowg
Copy link
Member

seadowg commented Nov 26, 2024

Yeah, it looks like we don't have a separate message for viewing finalized forms in this case (opening a saved form where the form definition no longer exists). I do think we give the user a lot of chances to mess up here, and we've had a few bugs/discussions related to reset recently. I'm wondering if we should look to simplify the feature by either reducing the number of reset options (only allowing blank and saved forms to be reset together) or tweaking the options so it's "saved forms only" and "blank forms AND saved forms".

cc/ @alyblenkin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: not ready
Development

No branches or pull requests

2 participants