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

Empty WFS transaction touches every feature in the layer

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.9.2
    • Fix Version/s: 2.11-RC1
    • Component/s: WFS
    • Labels:
      None

      Description

      When sending a WFS transaction with no content (using the natural earth roads dataset):

      <Transaction xmlns="http://www.opengis.net/wfs" service="WFS" version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <Update typeName="ne:roads" xmlns:ne="http://www.naturalearthdata.com"/>
      </Transaction>
      

      This results (when it actually completes) in 56303 features being "updated" with no changes according to the TransactionResponse (ie every feature in the layer).
      While this is technically accurate (no filter resulted in INCLUDE) and an empty list of properties means no attributes were harmed, it is just unfortunate that we had to look at each feature along the way.

      It would be nice if we could recognize that this request would cause no changed and respond accordingly (without listing every feature as changed).

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                dtucker Devon Tucker
                Reporter:
                tbarsballe Torben Barsballe
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: