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

After automatically resending failed form in one project I'm able to see the number of forms in Main Menu tabs from other project #6531

Open
srujner opened this issue Nov 26, 2024 · 2 comments · May be fixed by #6535

Comments

@srujner
Copy link

srujner commented Nov 26, 2024

ODK Collect version
2024.3.1 Master version, 2024.3.2 store version

Android version
Android 14

Device used
Samsung Galaxy M23

Problem description
I found this issue during testing PR from Central: getodk/central#746, but it is probably not related with changes in Central, because I checked also the Test instance where this PR has not been introduced yet and I was able to reproduce the issue.

When I have 2 or more projects in Collect and there is a form in one of them, which causes an error when sending, when Collect is trying to resend this form, I suddenly see the number of forms in “Draft”, “Ready to send” and “Sent” tabs from other project. Check the video below if something is unclear.

Steps to reproduce the problem

  1. Scan the first QR code:
    Screenshot(206)

  2. Scan the second QR code:
    Screenshot(207)

  3. In the first project create some Drafts, send some forms and the most important send the: "random" form (there should be an error while sending)

  4. Move to the second project and wait for match exactly/resend from the first project

  5. You'll see the number of forms from the first project.

  6. After going into e.g. Draft tab the forms will be shown correctly

Expected behavior

  • User should not see number of forms from other projects after resending forms with issues or match exactly.

Other information

XRecorder_26112024_112702.mp4
@seadowg
Copy link
Member

seadowg commented Nov 27, 2024

@srujner I'm pretty sure this will have existed in older versions looking at the code. Could you confirm v2024.2.4 for me please?

@seadowg seadowg moved this from inbox to not ready in ODK Collect Nov 27, 2024
@srujner
Copy link
Author

srujner commented Nov 27, 2024

@seadowg Yep, it reproduces on v2024.2.4

@seadowg seadowg moved this from not ready to ready in ODK Collect Nov 27, 2024
@seadowg seadowg self-assigned this Nov 28, 2024
@seadowg seadowg moved this from ready to in progress in ODK Collect Nov 28, 2024
@seadowg seadowg linked a pull request Nov 28, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: in progress
Development

Successfully merging a pull request may close this issue.

2 participants