MapServer / MapServer-import

3 stars 2 forks source link

[PostGIS - OWS] ungraceful results when database is not running #1221

Open tbonfort opened 12 years ago

tbonfort commented 12 years ago

Reporter: tomkralidis Date: 2005/02/08 - 05:40

If I run a WMS or WFS request against a layer which is stored in PostGIS, if the
database is not running, my request comes back blank, or no results.

Suggest a ServiceException with an error message saying the DB is down.
tbonfort commented 12 years ago

Author: tomkralidis Date: 2005/02/08 - 05:41


oh, btw:

MapServer latest CVS
PostGIS 1.0.0RC2
Fedora Core box
tbonfort commented 12 years ago

Author: tomkralidis Date: 2007/09/27 - 19:39 Looks like there have been some changes since this ticket was instantiated.

FYI, when the DB is down, a !ServiceException is returned for WFS !GetFeature requests, but not !DescribeFeatureType requests. WMS seems to work fine now.

So we need to fix WFS !DescribeFeatureType requests.

tbonfort commented 12 years ago

Author: tomkralidis Date: 2007/09/27 - 19:51 More info: in the case of !DescribeFeatureType, if invoking againts multiple feature types (e.g. no typename parameter passed), then it would be safer to produce a warning rather a !ServiceException report, seeing that some (non-DB) feature types may work and some may not.

This is the current behaviour in mapwfs.c.

Closing this for now as a result.