[ http://issues.apache.org/jira/browse/TAPESTRY-125?page=all ]
     
Jesse Kuhnert resolved TAPESTRY-125:
------------------------------------

    Fix Version: 4.0.1
     Resolution: Fixed
      Assign To:     (was: Tapestry Developer List)

> Upload w/o any file causes ClassCastException in Opera
> ------------------------------------------------------
>
>          Key: TAPESTRY-125
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-125
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 3.0
>  Environment: Operating System: Windows NT/2K
> Platform: PC
>     Reporter: Michael Li
>      Fix For: 4.0.1

>
> In Tapestry v3.0-beta-3, submit a form with "Upload" component without 
> actually 
> choosing any file will cause 
> "java.lang.ClassCastException" when browsing in Opera v7.23.
> It works fine when browsing in IE6 and Mozilla Firefox 0.8.
> The same issue exists in Workbench example web app (in Opera) - though in IE6 
> and Mozilla, it reports another exception, but that is another bug in the 
> <input 
> jwcid="@Upload" .../> component - should be <input jwcid="[EMAIL PROTECTED]" 
> ...
> />.
> Stack Trace:  
> *org.apache.tapestry.multipart.DefaultMultipartDecoder.
> getUploadFile(DefaultMultipartDecoder.java:276) 
> *org.apache.tapestry.request.RequestContext.getUploadFile(RequestContext.java:
> 534) 
> *org.apache.tapestry.form.Upload.renderComponent(Upload.java:86) 
> *org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:880) 
> *org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:657) 
> *org.apache.tapestry.form.Form.renderComponent(Form.java:396) 
> *org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:880) 
> *org.apache.tapestry.form.Form.rewind(Form.java:602) 
> *org.apache.tapestry.engine.RequestCycle.rewindForm(RequestCycle.java:475) 
> *org.apache.tapestry.form.Form.trigger(Form.java:616) 
> *org.apache.tapestry.engine.DirectService.service(DirectService.java:210) 
> *org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:912) 
> *org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:238)
>  
> *org.apache.tapestry.ApplicationServlet.doPost(ApplicationServlet.java:367)
> ...

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


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

Reply via email to