You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Updated) (JIRA)" <ji...@apache.org> on 2011/12/09 12:34:40 UTC
[jira] [Updated] (WW-3664) FileUpload interceptor not recursively
creating directories if one doesn't already exist
[ https://issues.apache.org/jira/browse/WW-3664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart updated WW-3664:
------------------------------
Fix Version/s: 2.3.x
> FileUpload interceptor not recursively creating directories if one doesn't already exist
> ----------------------------------------------------------------------------------------
>
> Key: WW-3664
> URL: https://issues.apache.org/jira/browse/WW-3664
> Project: Struts 2
> Issue Type: Improvement
> Components: Core Interceptors
> Affects Versions: 2.2.1
> Environment: Solaris
> Reporter: Mukarram Baig
> Priority: Trivial
> Fix For: 2.3.x
>
> Attachments: WW-3364.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> The current implementation of the file upload interceptor, if the multipart save directory location specified does not already exist, we try to create it but not recursively. Is there a reason for not doing it? More specifically, we are calling multipartSaveDir.mkdir() rather than multipartSaveDir.mkdirs(). I can attach a patch if that helps...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira