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

Mobile: Self-intersecting polygon validation warns the user but doesn't prevent submission #3784

Open
brennanwebster opened this issue Jan 10, 2025 · 0 comments
Assignees
Labels
Bug Something isn't working

Comments

@brennanwebster
Copy link
Collaborator

This actually happens on web also. I believe it used to work differently, where if the polygon didn't pass the validation the spatial autofill fields would not fill, so the user would have to try to draw the shape again.

As it is now a warning message pops up in the top right of the map, but the spatial autofill fields will still fill, and then the user will be able to submit the record. But once they are back online and try to sync the record will fail to sync because of the bad geometry.

I think we need to go back to the old way of forcing the user to create a valid shape by not filling the spatial autofill fields until the shape is valid.

@brennanwebster brennanwebster added the Bug Something isn't working label Jan 10, 2025
@meghna0593 meghna0593 self-assigned this Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants