Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-2587

UploadProgressBar producing warning log messages incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4-RC7
    • 1.4.4, 1.5-M1
    • wicket-extensions
    • None
    • Windows
      Debain
      Solaris

      On Tomcat and Jetty

    Description

      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.

      Attachments

        Activity

          People

            jdonnerstag Juegen Donnerstag
            wjp wayne pope
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified