MultipartWrapper behavior should be consistent between COS and Commons
----------------------------------------------------------------------

                 Key: STS-478
                 URL: http://www.stripesframework.org/jira/browse/STS-478
             Project: Stripes
          Issue Type: Improvement
          Components: ActionBean Dispatching
    Affects Versions: Release 1.4.3
            Reporter: Ben Gunter
            Assignee: Ben Gunter
            Priority: Minor
             Fix For: Release 1.5


Some attempt should be made to make the behavior of MultipartWrapper consistent 
regardless of the underlying multipart request implementation. The following 
issues were raised on the mailing list by Gregg Bolinger.

--

I just noticed a couple of differences between cos and commons-fileupload.

1. With commons and IE the FileBean.name is the full path of the file.  
In FF it is just the name.  But with cos both IE and FF behave the same 
in this regard having only the file name and not the full path.

2. with commons submitting a forum and not supplying the fileupload 
causes a FileBean to be instantiated but its size is 0.  With cos the 
FileBean is null if a file is not provided for the upload.

This probably should be documented somewhere.

Gregg

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to