Improve missing type error message
----------------------------------
Key: GEOS-2069
URL: http://jira.codehaus.org/browse/GEOS-2069
Project: GeoServer
Issue Type: Improvement
Components: WFS
Affects Versions: 1.7.0-beta1
Reporter: Andrea Aime
Assignee: Justin Deoliveira
Fix For: 1.7.0-RC1
Posting the follwoing to GeoServer:
{code:xml}
<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" service="WFS"
version="1.0.0" outputFormat="GML2">
<wfs:Query typeName="undefined" srsName="EPSG:4326">
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:BBOX>
<ogc:PropertyName>the_geom</ogc:PropertyName>
<gml:Box xmlns:gml="http://www.opengis.net/gml"><gml:coordinates
decimal="." cs="," ts=" ">109.725928125,-63.398681640625
180.038428125,-18.398681640625</gml:coordinates></gml:Box>
</ogc:BBOX>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>
{code}
where *undefined* is a missing layer results in the followin error message:
{code:xml}
<?xml version="1.0" ?>
<ServiceExceptionReport
version="1.2.0"
xmlns="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/ogc
http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd">
<ServiceException>
Could not locate {http://www.opengis.net/wfs}undefined in catalog.
</ServiceException></ServiceExceptionReport>
{code}
which is quite confusing, it should be something like "undefined feature type
not found" or "topp:undefined feature type not found".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel