|
Alessandro Pasotti created an issue |
Issue Type: |
|
---|---|
Affects Versions: |
2.8.2 |
Assignee: |
Unassigned |
Components: |
WFS |
Created: |
30/Mar/16 1:25 PM |
Environment: |
Build Information |
Labels: |
wfs |
Priority: |
|
Reporter: |
I’m testing the official geoserver 2.8.2 on Linux, I’ve enabled WFS-T transactional on all workspaces. Using QGIS as a client, this works:
This doesn’t:
First issue: geoserver returns <wfs:SUCCESS/> (no errors and no warnings in the logs) but data are not inserted in the shapefiles. By comparing example XML I’ve tracked down the problem (at least for linestrings) to the simple GML used by QGIS, compared with the multi geometry GML used in the geoserver demo requests (which works): QGIS (silently fails):{{<the_geom xmlns=“http://www.openplans.org/topp”> }} GeoServer Demo Requests (works):{{<topp:the_geom> I believe that geoserver should not return <wfs:SUCCESS/> if data are not saved Attached transaction (Jira refused to accept this upload, that’s why I’m attaching inline):{{<Transaction xmlns=“http://www.opengis.net/wfs” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” version=“1.0.0” xmlns:topp=“http://www.openplans.org/topp” service=“WFS” xsi:schemaLocation=“http://www.openplans.org/topp http://localhost:8080/geoserver/topp/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=topp:tasmania_roads&SRSNAME=EPSG:4326&username=admin&password=geoserver” xmlns:gml=“http://www.opengis.net/gml”> Response:{{<wfs:WFS_TransactionResponse version=“1.0.0” xsi:schemaLocation=“http://www.opengis.net/wfs http://localhost:8080/geoserver/schemas/wfs/1.0.0/WFS-transaction.xsd”><wfs:InsertResult><ogc:FeatureId fid=“new0”/></wfs:InsertResult><wfs:TransactionResult><wfs:Status><wfs:SUCCESS/></wfs:Status></wfs:TransactionResult></wfs:WFS_TransactionResponse> |
This message was sent by Atlassian JIRA (v7.2.0-OD-04-029#72002-sha1:f50e4de) |
|