You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2009/11/29 00:32:20 UTC

[jira] Resolved: (WICKET-2587) UploadProgressBar producing warning log messages incorrectly

     [ https://issues.apache.org/jira/browse/WICKET-2587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juergen Donnerstag resolved WICKET-2587.
----------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.4-RC7)
                   1.5-M1
                   1.4.4
         Assignee: Juergen Donnerstag

thanks

> UploadProgressBar producing warning log messages incorrectly
> ------------------------------------------------------------
>
>                 Key: WICKET-2587
>                 URL: https://issues.apache.org/jira/browse/WICKET-2587
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.4-RC7
>         Environment: Windows
> Debain
> Solaris
> On Tomcat and Jetty
>            Reporter: wayne pope
>            Assignee: Juergen Donnerstag
>            Priority: Minor
>             Fix For: 1.4.4, 1.5-M1
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> we get the following warnings in our logs:
> (UploadProgressBar.java:106) - UploadProgressBar will not work without
> an UploadWebRequest. See the javadoc for details.
> We do override in the application:
> @Override
>        protected WebRequest
> newWebRequest(javax.servlet.http.HttpServletRequest servletRequest) {
>                return new UploadWebRequest(servletRequest);
>        };
> When I debug UploadProgressBar I see that:
> if (!(RequestCycle.get().getRequest() instanceof UploadWebRequest))
> {
>        log.warn("UploadProgressBar will not work without an
> UploadWebRequest. See the javadoc for details.");
> }
> However RequestCycle.get().getRequest() is returning a
> UploadWebRequest$MultipartRequest instance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.