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

fix(?): 🐛 Big claim creation or modification crashes API #2

Open
Nudelsuppe42 opened this issue Sep 8, 2024 · 2 comments
Open
Assignees
Labels
bug/api Something isn't working

Comments

@Nudelsuppe42
Copy link
Contributor

[1] Bug Description
Modifying or creating a claim with many coordinates gives the "Update failed" error on save.

[2] Screenshots
image

[3] Reproduction

  1. Create a claim with many coordinates
  2. Click save

[4] Expected Behaviour
The claim should save

[5] Additional context
By @Zoomy69

@Nudelsuppe42
Copy link
Contributor Author

Nudelsuppe42 commented Sep 8, 2024

This is related to one (or multiple) of this:

  • Getting the buildings from kumi crashes the api because the fetch has a body/query which is too long due to the many coordinates
  • Getting the OSM address crashes the api because it cant calculate the center correctly/the request times out because the polygon is too complex
  • Calculating the area is too complex (same reason as above)

=> Should be able to see the crash in the docker logs and pinpoint it

@Nudelsuppe42
Copy link
Contributor Author

Has been reproduced once, the second time worked without an error.

@Nudelsuppe42 Nudelsuppe42 self-assigned this Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/api Something isn't working
Projects
Status: In Progress
Development

No branches or pull requests

1 participant