Bug report #5321
Inserting geometries using a WFS-T of ArcGIS Server
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
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 |
Description
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>
</ows:Exception>
</ows:ExceptionReport>
The WFS GetFeatureWithLock request, although described here:
http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//00930000005q000000
Example WFS-T http://www.umwelt.sachsen.de/umwelt/infosysteme/wfs/services/wfst/pflanze?
Example Request via Fiddler:
http://www.umwelt.sachsen.de/umwelt/infosysteme/wfs/services/wfst/pflanze?SERVICE=WFS&VERSION=1.0.0&REQUEST=TRANSACTION
<Transaction xmlns="http://www.opengis.net/wfs"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="1.0.0"
service="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&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=wfst_pflanze-wfs:Pflanze&SRSNAME=EPSG:31468"
xmlns:wfst_pflanze-wfs="http://www.umwelt.sachsen.de/umwelt/infosysteme/wfs/services/wfst/pflanze">
<Insert>
<Pflanze xmlns="http://www.umwelt.sachsen.de/umwelt/infosysteme/wfs/services/wfst/pflanze">
<OBJECTID>30</OBJECTID>
<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>
</Point>
</SHAPE>
</Pflanze>
</Insert>
</Transaction>
Response:
<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">
<wfs:TransactionSummary>
<wfs:totalInserted>1</wfs:totalInserted>
</wfs:TransactionSummary>
<wfs:InsertResults>
<wfs:Feature>
<ogc:FeatureId fid="F543__1601"/>
</wfs:Feature>
</wfs:InsertResults>
</wfs:TransactionResponse>
History
#1 Updated by Falk Strobach over 12 years ago
#2 Updated by Paolo Cavallini about 12 years ago
- Target version changed from Version 1.8.0 to Version 2.0.0
#3 Updated by Jürgen Fischer over 10 years ago
- Target version changed from Version 2.0.0 to Future Release - Lower Priority
#4 Updated by Médéric RIBREUX almost 9 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 9 years ago
- Status changed from Feedback to Open
#6 Updated by Giovanni Manghi almost 8 years ago
- Resolution set to not reproducable
- Status changed from Open to Closed
Closing for lack of feedback, please reopen if necessary.