Bug report #5321

Inserting geometries using a WFS-T of ArcGIS Server

Added by Falk Strobach over 11 years ago. Updated almost 7 years ago.

Category:Web Services clients/WFS
Affected QGIS version:master Regression?:No
Operating System:Windows XP Easy fix?:No
Pull Request or Patch supplied:No Resolution:not reproducable
Crashes QGIS or corrupts data:No Copied to github as #:15023


If point geometries are inserted, which results in an error: "Error: An object is not inserted"
Error response:
<ows:ExceptionReport version="1.1.0" language="en" xmlns:ows="http://www.opengis.net/ows">
<ows:Exception exceptionCode="InvalidParameterValue">
<ows:ExceptionText>Updates in a WFS Transaction request require a lockId. Use GetFeatureWithLock to acquire a lock before attempting to update it.</ows:ExceptionText>

The WFS GetFeatureWithLock request, although described here:

Example WFS-T http://www.umwelt.sachsen.de/umwelt/infosysteme/wfs/services/wfst/pflanze?
Example Request via Fiddler:

<Transaction xmlns="http://www.opengis.net/wfs"
xsi:schemaLocation="http://www.umwelt.sachsen.de/umwelt/infosysteme/wfs/services/wfst/pflanze http://www.umwelt.sachsen.de/umwelt/infosysteme/wfs/services/wfst/pflanze?SERVICE=WFS&amp;VERSION=1.0.0&amp;REQUEST=DescribeFeatureType&amp;TYPENAME=wfst_pflanze-wfs:Pflanze&amp;SRSNAME=EPSG:31468"
<Pflanze xmlns="http://www.umwelt.sachsen.de/umwelt/infosysteme/wfs/services/wfst/pflanze">
<ART_ID xmlns="http://www.umwelt.sachsen.de/umwelt/infosysteme/wfs/services/wfst/pflanze">20</ART_ID>
<GSTPFL_KEY xmlns="http://www.umwelt.sachsen.de/umwelt/infosysteme/wfs/services/wfst/pflanze">20</GSTPFL_KEY>
<SHAPE xmlns="http://www.umwelt.sachsen.de/umwelt/infosysteme/wfs/services/wfst/pflanze">
<Point xmlns="http://www.opengis.net/gml" srsName="EPSG:31468">
<coordinates xmlns="http://www.opengis.net/gml" cs="," ts=" ">4581956.4629,5667039.7808</coordinates>
<wfs:TransactionResponse version="1.1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:wfs="http://www.opengis.net/wfs">
<ogc:FeatureId fid="F543__1601"/>

insert-point.xml Magnifier - Insert (1.33 KB) Falk Strobach, 2012-04-05 05:11 AM

ExceptionReport.xml Magnifier - Exception (361 Bytes) Falk Strobach, 2012-04-05 05:11 AM

Basis.qgs - Project-File (10.8 KB) Falk Strobach, 2012-04-05 05:11 AM


#2 Updated by Paolo Cavallini over 11 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

#3 Updated by Jürgen Fischer over 9 years ago

  • Target version changed from Version 2.0.0 to Future Release - Lower Priority

#4 Updated by Médéric RIBREUX almost 8 years ago

  • Status changed from Open to Feedback

Hello, bug triage...

do you still have this bug in the WFS client of a recent version of QGIS (2.12.1 or master) ?
I can't find anything in the WFS provider code that match lock so I suspect the bug is still here.

If this is the case, we need to support GetFeatureWithLock WFS method in the WFS provider (and I think this is a feature request).

#5 Updated by Giovanni Manghi almost 8 years ago

  • Status changed from Feedback to Open

#6 Updated by Giovanni Manghi almost 7 years ago

  • Resolution set to not reproducable
  • Status changed from Open to Closed

Closing for lack of feedback, please reopen if necessary.

Also available in: Atom PDF