[Geoserver-devel] [JIRA] (GEOS-8710) Invalid WFS-T insert on workspace specific service returns the wrong exceptionCode

Andrea Aime created an issue

GeoServer / BugGEOS-8710

Invalid WFS-T insert on workspace specific service returns the wrong exceptionCode

Issue Type:

BugBug

Assignee:

Unassigned

Created:

20/Apr/18 11:06 AM

Priority:

MediumMedium

Reporter:

Andrea Aime

Currently reports a generic error due to a breakage in WFSWorkspace, instead of the expected “InvalidValue”.

Example:

<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs/2.0" service="WFS" version="2.0.0">
  <wfs:Insert xmlns:gml="http://www.opengis.net/gml/3.2">
      <tns:Airport xmlns:tns="http://example.org" gml:id="YVR">
         <gml:identifier codeSpace="http://www.iata.org/">YVR</gml:identifier>
         <gml:name>Vancouver International Airport</gml:name>
      </tns:Airport>
  </wfs:Insert>
</wfs:Transaction>

Where Airport is not an existing feature type, and the request needs to be done against a workspace specific service

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100082-sha1:0a2bb8d)

Atlassian logo