OpenLayers 3 WFS-T update statement filter

المشرف العام

Administrator
طاقم الإدارة
I am using ol.format.WFS.writeTransaction() (OL3.5) to generate WFS-T statements. This works well for insert and delete. The problem is with the update statement. The statement includes a filter for the fid.

The response from Geoserver is:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1 String index out of range: -1I guess that Geoserver (2.7) has no clue about the fid. How can I change the filter to use the actual feature ID which is a property called feature_id (int).

Edit: I am not sure whether this is an issue with the filter. I am able to edit/update the features on a WFS layer in QGIS.



أكثر...
 
أعلى