Uploaded image for project: 'GeoServer'
  1. GEOS-8710

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.13.1
    • Component/s: None
    • Labels:

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              aaime Andrea Aime
              Reporter:
              aaime Andrea Aime
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: