DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24503>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24503

all form variables lost after a MAX_LENGTH_EXCEEDED_ERROR

           Summary: all form variables lost after a
                    MAX_LENGTH_EXCEEDED_ERROR
           Product: Struts
           Version: 1.1 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: File Upload
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


This is quite an obtuse bug, and the solution may well lie upstream in
Commons-Upload. Sorry if that's the case.

Picture a form with a file selector on + some other text fields.

If you pass back a validation error because the client attempts to upload a file
that is too large then you lose not only the name of the file, but also every
other field on the page.

I've thoroughly tested this, it isn't just a freak occurance for me. The
Struts-upload example app will also produce this behaviour.


I would like it if there was a way to save the non-filename text after such a
validation failure. (I don't know if this is possible). It would be consistent.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to