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

ClassCastException when AbstractResource writes in response of some type other than WebResponse

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5-RC3
    • 1.5-RC5
    • wicket
    • None

    Description

      Some times is usefull to write the resource in ByteArrayResponse to access the response bytes latter. An use case is ThumbnailImageResource accessing the wrapped resource image to first resize it and than write in response.

      Attachments

        1. WICKET-3649-refactoring-fix-test.patch
          9 kB
          Pedro Santos
        2. WICKET-3649.patch
          7 kB
          Pedro Santos

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              pedrosans Pedro Santos
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: