Required param missing in GetFeature, funny error back
------------------------------------------------------
Key: GEOS-1893
URL: http://jira.codehaus.org/browse/GEOS-1893
Project: GeoServer
Issue Type: Bug
Affects Versions: 1.6.3
Reporter: Andrea Aime
Assignee: Andrea Aime
Fix For: 1.6.4
This morning, with my head half in bed still, I made the following wfs request
as you can see, I used featureType instead of typeName. Here is the response:
{code}
<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/ows http://sigma.openplans.org:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows">
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>No query specified</ows:ExceptionText>
<ows:ExceptionText>Details:</ows:ExceptionText>
<ows:ExceptionText>org.geoserver.wfs.WFSException: No
query specified at
org.geoserver.wfs.GetFeature.run(GetFeature.java:115)
at
org.geoserver.wfs.DefaultWebFeatureService.getFeature(DefaultWebFeatureService.java:108)
at
sun.reflect.GeneratedMethodAccessor551.invoke(Unknown
{code}
Eeek, isn't typeName a mandatory parameter? Why am I getting the funny error message about a missing query then?
--
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