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

Entity updates from the server #5972

Closed
seadowg opened this issue Feb 16, 2024 · 1 comment · Fixed by #5982
Closed

Entity updates from the server #5972

seadowg opened this issue Feb 16, 2024 · 1 comment · Fixed by #5982
Assignees
Milestone

Comments

@seadowg
Copy link
Member

seadowg commented Feb 16, 2024

Blocked by #5924

If an entity exists both locally and on the server (an entity has been created or updated locally and also exists in the form's secondary instance entity list), the one used in follow up/update forms (and in the entity browser) depends on the entity's version:

  • If one version is greater than the other, that entity should be used
  • If the versions are equal, the local one should be used (local updates are displayed instead of server ones)
@seadowg
Copy link
Member Author

seadowg commented Feb 16, 2024

@lognaturel how do you feel about these rules? I felt like using the local version in the case of a match makes sense to bias towards the enumerator seeing the data they entered and then only moving away from it if it's updated again on the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: done
Development

Successfully merging a pull request may close this issue.

2 participants
@seadowg and others