Which tool versions are you using?
SDK: 14.11.0
Platform: v24.07.2
Python: v3.10
Isolation mode: venv
Current Behavior
I have 2 GeoPolyLineFields. When I edit 1 but don’t save yet but activate edit mode of the second GeoPolyLineField and press save immediatly, the geometry of the second item becomes the edited geometry of the first item.
Reproduction steps:
- Create a dynamic array with a GeoPolylineField and a
MapView
where you visualize the polylines. - Create 2 rows the dynamic arraw and draw for both rows a line with the GeoPolylineField
- Enter edit mode of the polyline in the first row of the dynamic array. Make a geometry change BUT DON’T SAVE YET.
- Enter edit mode of the polyline in the second row of the dynamic array.
- Click save edits
- Observe that:
6.1 The geometry of the first polyline remains the old geometry
6.2 The geometry of the second polyline become the proposed geometry meant for polyline 2
Expected Behavior
Give a warning when you try to edit another GeoField when you still have pending edits of another field
Context (optional, but preferred)
One of our users discovered this when editing multiple geometries at once. Apparently editing multiple geometries at the same time without saving feels intuitive for the user. Or you have to support this or you have to give a warning.