Editing Geometry data throws error on using the GUI #16325
Labels
Bug
A problem or regression with an existing feature
good first issue
has-pr
An issue that has a pull request pending that may fix this issue. The pull request may be incomplete
help wanted
Projects
Milestone
Describe the bug
Editing Geometry data using GUI is not working.
The error is due to the fact that the Query generated is
UPDATE `gis_all` SET `shape` = ST_PointFromText(\'POINT(66 54)\',0) WHERE `gis_all`.`name` = 'POINT'but it should beUPDATE `gis_all` SET `shape` = ST_PointFromText('POINT(66 54)',0) WHERE `gis_all`.`name` = 'POINT'which works fine when edited and executed as an SQL command.It is true for all geometries I tested.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The value should be edited.
Screenshots
Server configuration
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: