WFS - outputFormat results with bbox inconsistant
-------------------------------------------------
Key: GEOS-3176
URL: http://jira.codehaus.org/browse/GEOS-3176
Project: GeoServer
Issue Type: Bug
Environment: binary 1.7.5 on windows, mysql data server extension.
Reporter: Jonathan
Assignee: Andrea Aime
This may be a feature but I can't be sure so I'm reporting it just in case.
I'm trying to get data from within a bbox-area from a mysql database and serve it up via outputFormat shape-zip.
But the result is an XML document! So I remove the bbox from the end and it becomes the correct zip-file. The XML file contains this:
<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/ows http://localhost: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>java.util.zip.ZipException: ZIP file must have at least one entry
ZIP file must have at least one entry</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
So there are no results for that query (despite the fact it gets results as WMS, but oh well).
But when I tried it with other outputFormat types (CSV, GML2, json), they all return blank documents rather than an XML document. So why does the shapefile zip get changed into a XML when there are no results? Surely the user/users-program will be expecting a zip?
--
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