Struts 2
  1. Struts 2
  2. WW-1989

FileUpload doesn't work in portlets

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8
    • Fix Version/s: 2.0.10, 2.1.0
    • Component/s: Plugin - Portlet
    • Labels:
      None
    • Environment:

      Any

      Description

      Need to create a custom file upload handler for portlet environment, since the default file upload interceptor doesn't work.

        Issue Links

          Activity

          Hide
          ZhangQiang added a comment -

          yes,i find it too!

          Show
          ZhangQiang added a comment - yes,i find it too!
          Hide
          Ted Husted added a comment -

          Setting Fix Version to "future" for issues without a set fix version.

          Show
          Ted Husted added a comment - Setting Fix Version to "future" for issues without a set fix version.
          Hide
          Nils-Helge Garli added a comment -

          Fixed by the new portlet-servlet wrapper classes enabling re-use of the file upload interceptor in the core.

          Show
          Nils-Helge Garli added a comment - Fixed by the new portlet-servlet wrapper classes enabling re-use of the file upload interceptor in the core.
          Hide
          Rene Gielen added a comment -

          Nils,

          do you think it would be possible to port this patch back to 2.0.x easily?

          Show
          Rene Gielen added a comment - Nils, do you think it would be possible to port this patch back to 2.0.x easily?
          Hide
          Nils-Helge Garli added a comment -

          Well...It requires some work.... But it's possible I guess. It needs the new portlet-servlet classes and some new lines in the Jsr168Dispatcher.

          Show
          Nils-Helge Garli added a comment - Well...It requires some work.... But it's possible I guess. It needs the new portlet-servlet classes and some new lines in the Jsr168Dispatcher.
          Hide
          Rene Gielen added a comment -

          I'm giving it a try. I've backported the WW-1989, WW-2053, WW-2101 stuff here in by local sandbox and try it out. If it works, I'll commit it to the 2.0.x tree.

          Show
          Rene Gielen added a comment - I'm giving it a try. I've backported the WW-1989 , WW-2053 , WW-2101 stuff here in by local sandbox and try it out. If it works, I'll commit it to the 2.0.x tree.
          Hide
          Nils-Helge Garli added a comment -

          Ok, that should actually fix a couple of more issues. Let me know when you're done, and I'll do a review.

          Show
          Nils-Helge Garli added a comment - Ok, that should actually fix a couple of more issues. Let me know when you're done, and I'll do a review.
          Hide
          Rene Gielen added a comment -

          Backport to 2.0.10 checked in.

          Nils, please review.

          Show
          Rene Gielen added a comment - Backport to 2.0.10 checked in. Nils, please review.

            People

            • Assignee:
              Nils-Helge Garli
              Reporter:
              Nils-Helge Garli
            • Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development