DataStoreFileResource returns incomplete zip file when downloading from a shape
datastore
-----------------------------------------------------------------------------------------
Key: GEOS-3388
URL: http://jira.codehaus.org/browse/GEOS-3388
Project: GeoServer
Issue Type: Bug
Components: REST
Affects Versions: 1.7.6
Reporter: Gustavo Giráldez
Assignee: Andrea Aime
Priority: Minor
Attachments: restconfig-zipdownload.patch
When downloading the zip file containing the .shp, .shx and .dbf from a
datastore using the URI /workspaces/<ws>/datastores/<ds>/file.shp, the returned
archive is missing the zip entries at the end. By looking at the code, it seems
the zip stream it's not being properly closed. Attached trivial patch fixes the
problem.
--
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
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel