Bug report #8123

WFS Filter : send empty data instead of XML error when no feature found

Added by Michael Douchin about 11 years ago. Updated about 11 years ago.

Status:Closed
Priority:Normal
Assignee:René-Luc ReLuc
Category:QGIS Server
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed
Crashes QGIS or corrupts data:No Copied to github as #:16956

Description

When a getFeature request has a FILTER parameter, and when no data corresponds, QGIS answer sometimes with

<ServiceExceptionReport version="1.3.0"><ServiceException code="RequestNotWellFormed">No feature found error messages: .</ServiceException></ServiceExceptionReport>

It would be better to send back an empty GML (Or GeoJSON) instead.

History

#1 Updated by René-Luc ReLuc about 11 years ago

  • Resolution set to fixed
  • % Done changed from 0 to 100
  • Status changed from Open to Closed
  • Due date set to 2013-06-25

Commit 562aec32d860cdf9baf6857232287f61c96c899c 562aec32d860cdf9baf6857232287f61c96c899c

Also available in: Atom PDF