On Fri, Jan 4, 2013 at 5:45 PM, Robin Pradel <[email protected]> wrote:
> Does anyone knows, why the directory is deleted whenever an
> org.geoserver.rest.util.RESTUtils.handleBinUpload(…) is called.
>
> Otherwise I would fix it by deleting only the file instead of the directory.

Hi,

this is a critical issue...
RESTUtils.handleBinUpload is used in FreemarkerTemplateResource and in
StoreFileResource, but seems its behaviour is harmless in
StoreFileResource.
I've fixed the issue in FreemarkerTemplateResource, replacing the
usage of handleBinUpload with another local method:

https://github.com/geoserver/geoserver/pull/91

Unfortunately a stable version containing this bug has been released
few days ago.
Maybe we should consider creating another stable release as soon as
the bug is fixed?

-- 
Davide Savazzi

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to