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(?): 🐛 Claims with no buildings cannot be edited if new area has no buildings #15

Open
123cafa opened this issue Oct 18, 2024 · 0 comments

Comments

@123cafa
Copy link

123cafa commented Oct 18, 2024

[1] Bug Description
When editing a claim with no buildings, saving the claim fails if the new area still has no buildings.
Error message is "Could not update building count"

[2] Screenshots
X (ask me for photos if needed but it's very similar to #11)

[3] Reproduction

  1. Create a claim with a building count of zero and save it.
  2. Edit the area by expanding to a new area without buildings/editing name/editing description.
  3. Saving fails.

[4] Expected Behaviour
Claim should be able to be edited.

[5] Additional context
This is most likely related to #11 and the same fix may simply need to be applied to the edit function.

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

No branches or pull requests

1 participant