struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Newton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-3664) FileUpload interceptor not recursively creating directories if one doesn't already exist
Date Wed, 20 Jul 2011 18:08:58 GMT

    [ https://issues.apache.org/jira/browse/WW-3664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068524#comment-13068524
] 

Dave Newton commented on WW-3664:
---------------------------------

I think he's just saying that the current code will make a directory, he wants it to make
the entire tree.

I'm changing the priority to low.

> 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: Bug
>          Components: Dispatch Filter
>    Affects Versions: 2.2.1
>         Environment: Solaris 
>            Reporter: Mukarram Baig
>              Labels: features
>   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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message