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

Surveys deleted by organizer not synced with app #2693

Closed
jcqli opened this issue Aug 23, 2024 · 6 comments
Closed

Surveys deleted by organizer not synced with app #2693

jcqli opened this issue Aug 23, 2024 · 6 comments
Labels
type: bug Something isn't working
Milestone

Comments

@jcqli
Copy link
Contributor

jcqli commented Aug 23, 2024

Repro:

  1. Open survey on mobile while connected to web app
  2. Delete survey in web app
  3. Observe that survey persists on mobile

Note: when you navigate to 'Switch survey' on the android app, the survey is then removed from the survey list

@jcqli jcqli added this to Ground Aug 23, 2024
@jcqli jcqli converted this from a draft issue Aug 23, 2024
@jcqli jcqli added this to the GA release milestone Aug 23, 2024
@jcqli jcqli added the type: bug Something isn't working label Aug 23, 2024
@anandwana001
Copy link
Collaborator

@jcqli Tested this and it is working as expected. Any edge case I am missing here?

Screen.Recording.2024-08-28.at.12.34.18.PM.mov

@shobhitagarwal1612
Copy link
Member

You need to activate that survey in the app before deleting if from the web app to reproduce this issue

@anandwana001
Copy link
Collaborator

@shobhitagarwal1612 Yes, with offline access too, it's working fine. Tested it.
cc @jcqli

@jcqli
Copy link
Contributor Author

jcqli commented Aug 28, 2024

@anandwana001 If it's not reproducible we can probably close this though I'm curious about the current behavior for offline.
With offline access, are you opening the survey, going offline, and then deleting on the web app? Does it delete from the mobile app as soon as your online again?

@anandwana001
Copy link
Collaborator

anandwana001 commented Aug 28, 2024

@jcqli Just got to know a few more points on this and needs to re-check:

  1. When user on home screen, when the survey card is visible and survey deleted - it's not syncing due to persistence data - this need a fix
    I think this ticket is same for the above point - App in invalid state when current survey is deleted on remote #2687

  2. When a user is on the survey selector screen - everything works fine

So looks like its not a bug, but a feature with the new screen mentioned in #2687

@gino-m
Copy link
Collaborator

gino-m commented Aug 28, 2024

When user on home screen, when the survey card is visible and survey deleted - it's not syncing due to persistence data - this need a fix

Is there a bug for this? Can you file one?

Closing this as duplicate of #2687.

@gino-m gino-m closed this as not planned Won't fix, can't repro, duplicate, stale Aug 28, 2024
@github-project-automation github-project-automation bot moved this to Done in Ground Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

4 participants