The problem occur if a geometry is deleted and another new geometry is entered, i.e. I delete a linestring and add a polygon (video 1). Then the polygon will be written in the gis.linestring table, but with type area not linestring. When an area is deleted and a new linestring is added, an error occur. If a polygon or linestring is deleted, and then a point will be added, it is not possible because the save button of the centerpoint won't work (Video 2).
Video 3 shows, that is possible to delete e.g. a polygon and add a new polygon and then delete a linestring and add a new linestring. But it has a bug if deleting a polygon and then add a polygon.
Video 4 shows that there is an error if a polygon is deleted and a linestring is entered (possible because validation says that the linestring is not closed)
Usually bugs have the highest priority but we decided to postpone map bugs because the map module will be rewritten early 2022. Sorry about possible inconveniences and thank you for reporting.