# HOTFIX: empty geometry save #510

Merged
mpeltriaux merged 2 commits from hotfix_empty_geometry_save into master 2025-12-03 13:49:56 +01:00
Showing only changes of commit 43eb598d3f - Show all commits

View File

@ -54,7 +54,7 @@ class SimpleGeomForm(BaseForm):
geom = json.dumps(geojson)
except AttributeError:
# If no geometry exists for this form, we simply set the value to None and zoom to the maximum level
geom = ""
geom = json.dumps({})
self.empty = True
self.initialize_form_field("output", geom)