Closed giovanniborella closed 4 days ago
when using the textarea with newlines, the feature fails.
results in following response in gc2 feature api (i think):
{ "success": false, "message": { "success": false, "message": "Could not decode GeoJSON", "code": 500, "_execution_time": 0.048 } }
the json-object sent looks like
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"boolean":false,"timestamp":"2024-10-28T11%3A06","timestampz":"2024-10-28T11%3A06%2B01%3A00","text":"this%20is%0Asome%0Anew%0Alines"},"geometry":{"type":"Point","coordinates":[8.71627807617188,56.37361649220435]}}]}
im guessing that the featureapi decodes the string, but messes up when storing the newlines into the database
This should work in latest GC2 and Vidi
when using the textarea with newlines, the feature fails.
results in following response in gc2 feature api (i think):
the json-object sent looks like
im guessing that the featureapi decodes the string, but messes up when storing the newlines into the database