[Geoserver-devel] [JIRA] (GEOS-7875) WFS-T Insert returns FeatureId null

Sjoerd Brandsma created an issue

GeoServer / BugGEOS-7875

WFS-T Insert returns FeatureId null

Issue Type:

BugBug

Affects Versions:

2.9.1

Assignee:

Unassigned

Created:

22/Nov/16 6:35 PM

Priority:

MediumMedium

Reporter:

Sjoerd Brandsma

When inserting 3D linestring:

<wfs:Transaction service=“WFS” version=“1.1.0” xmlns:wfs=“http://www.opengis.net/wfs”>
<wfs:Insert inputFormat=“text/xml; subtype=gml/3.1.1” srsName=“EPSG:7415”>
<cm:line xmlns:cm=“http://cm.ddd.com”>
<cm:stdx>0.06307620698334376</cm:stdx>
<cm:stdy>0.08201566540985261</cm:stdy>
<cm:stdz>0.043325907398327576</cm:stdz>
<cm:meas_info><Geometry closed=“0”>
<Points>
<Point>
<Observation imageID=“5D4E707O”>-0.6225555773139958 -0.7294623495218896 -0.28338883849799384</Observation>
<Observation imageID=“5D4DT8PY”>0.36973494435178517 0.7672284061274733 -0.5240769444998313</Observation>
</Point>
<Point>
<Observation imageID=“5D4E707O”>-0.6525129511154095 -0.6969664952012733 -0.29742991307787586</Observation>
<Observation imageID=“5D4DT8PY”>0.33521143710651796 0.8113004939407774 -0.47898309047860294</Observation>
</Point>
</Points>
</Geometry></cm:meas_info>
<cm:quality>1</cm:quality>
<cm:objecttype>Blokmarkering</cm:objecttype>
<cm:date_recorded>2016-07-19T05:04:48.540Z</cm:date_recorded>
<cm:date_modified>2016-11-22T17:18:12.695Z</cm:date_modified>
<cm:username>sbr</cm:username>
<cm:the_geom xlink:type=“simple” xmlns:xlink=“http://www.w3.org/1999/xlink”>
<gml:LineString xmlns:gml=“http://www.opengis.net/gml”>
<gml:posList>133544.31496655248 397418.7761380851 13.705186713607112 133544.30798575422 397419.24973506096 13.699275314007282</gml:posList>
</gml:LineString>
</cm:the_geom>
<cm:objectstatus>A+</cm:objectstatus>
</cm:line>
</wfs:Insert>
</wfs:Transaction>

I get the following result:

<?xml version=“1.0” encoding=“UTF-8”?>
<wfs:TransactionResponse xmlns:xs=“http://www.w3.org/2001/XMLSchema” xmlns:wfs=“http://www.opengis.net/wfs” xmlns:gml=“http://www.opengis.net/gml” xmlns:inventory_nl=“http://inventory_nl.cyclomedia.com” xmlns:ogc=“http://www.opengis.net/ogc” xmlns:ows=“http://www.opengis.net/ows” xmlns:xlink=“http://www.w3.org/1999/xlink” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” version=“1.1.0” xsi:schemaLocation=“http://www.opengis.net/wfs http://geoserver-c.cyclomedia.com:8080/geoserver/schemas/wfs/1.1.0/wfs.xsd”>
<wfs:TransactionSummary>
<wfs:totalInserted>1</wfs:totalInserted>
<wfs:totalUpdated>0</wfs:totalUpdated>
<wfs:totalDeleted>0</wfs:totalDeleted>
</wfs:TransactionSummary>
<wfs:TransactionResults />
<wfs:InsertResults>
<wfs:Feature>
<ogc:FeatureId fid=“line.null” />
</wfs:Feature>
</wfs:InsertResults>
</wfs:TransactionResponse>

FeatureID is null but after a normal WFS BBOX request I get a proper featureID: line.71

Any idea what can be wrong?

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.552.6#100018-sha1:e2f2197)

Atlassian logo