ICEfaces
  1. ICEfaces
  2. ICE-3582

Seam MultipartFilter interferes with UploadServer

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2
    • Fix Version/s: 1.7.2
    • Component/s: Framework, ICE-Components
    • Labels:
      None
    • Environment:
      Seam 2.1.0

      Description

      This affects all versions of ICEfaces, and is not a regression on our part. It looks like, to support their own upload component, Seam have added a MultipartFilter, which previously, in Seam 2.0.2 SP1, did not cause problems for our UploadServer, which ice:inputFile makes use of. But, with Seam 2.1.0 CR1, the MultpartFilter is now parsing the content from the input stream, so that information is not available to be read by the commons-upload library anymore.

      From org.jboss.seam.web.MultipartFiler.doFilter(-):
               // Force the request to be parsed now
               multipartRequest.getParameterNames();

        Activity

        Hide
        Mark Collette added a comment -

        I added a Seam style components.xml into our icefaces.jar's META-INF directory, with the markup for disabling the MultipartFilter.

        TRUNK
        Subversion 17677
        ICEfaces 1.7 branch
        Subversion 17676
        icefaces\core\conf\META-INF\components.xml

        Show
        Mark Collette added a comment - I added a Seam style components.xml into our icefaces.jar's META-INF directory, with the markup for disabling the MultipartFilter. TRUNK Subversion 17677 ICEfaces 1.7 branch Subversion 17676 icefaces\core\conf\META-INF\components.xml

          People

          • Assignee:
            Unassigned
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: