Closed gioman closed 7 years ago
I can reproduce, no clue though as yet why
argh now I remember what causes this, a recent change actually
Reverted that one, so fixed now in SDK master
after finishing the edit of a wfs-T layer in the webapp the new feature does not show. It seems that is really not saved as also on QGIS (as client) does not show. Editing in QGIS works fine.
ok I will check again I was looking with a read-only WFS only in my case
okay I'm having issues as well even though the transaction comes back with success
seems the geometry is null, wonder if this is because I'm inserting a Polygon instead of a MultiPolygon
``{"type":"Feature","id":"states.51","geometry":null,"geometry_name":"the_geom","properties":{"STATE_NAME":"foo","STATE_FIPS":null,"SUB_REGION":null,"STATE_ABBR":"FO","LAND_KM":null,"WATER_KM":null,"PERSONS":null,"FAMILIES":null,"HOUSHOLD":null,"MALE":null,"FEMALE":null,"WORKERS":null,"DRVALONE":null,"CARPOOL":null,"PUBTRANS":null,"EMPLOYED":null,"UNEMPLOY":null,"SERVICE":null,"MANUAL":null,"P_MALE":null,"P_FEMALE":null,"SAMP_POP":null}}]```
no it seems the geometry name is not correct:
<Transaction xmlns="http://www.opengis.net/wfs" service="WFS" version="1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"><Insert><states xmlns="http://www.openplans.org/topp"><geometry><Polygon xmlns="http://www.opengis.net/gml" srsName="EPSG:3857"><exterior><LinearRing srsName="EPSG:3857"><posList>-10175297.205322662 3248267.9540068507 -10097025.688358642 3013453.403114789 -9744803.86202055 2974317.644632779 -9470853.552646479 3600489.7803449426 -10175297.205322662 3248267.9540068507</posList></LinearRing></exterior></Polygon></geometry><STATE_NAME>foo</STATE_NAME><STATE_ABBR>FOO</STATE_ABBR></states></Insert></Transaction>```
two issues here:
@bartvde confirmed. Thanks!
Used the same endpoint that weeks ago allowed me to successfully test wfs-t editing.
Possibly related to
https://github.com/boundlessgeo/qgis-webappbuilder-plugin/issues/366
the behavior with a WFS-T in the webapp is similar (WFS-T rowks just fine in QGIS as client).