ICEfaces
  1. ICEfaces
  2. ICE-9200

ace:fileEntry - Avoid capturing all multi-part/Servlet 3.0 requests

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: EE-3.3.0.GA, 4.0.BETA, 4.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ICEfaces ACE, ICEmobile
    • Assignee Priority:
      P1
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration

      Description

      FileEntryResourceHandler wraps all requests of type multipart, but this interferes with other multipart uses of the request.

        Activity

        Hide
        Mark Collette added a comment -

        Further testing of FileEntry with Portlets raised these issues of ICE-9338, ICE-9339, which seem to be unrelated to the Servlet 3.0 work, so I'm marking this as resolved now.

        Show
        Mark Collette added a comment - Further testing of FileEntry with Portlets raised these issues of ICE-9338 , ICE-9339, which seem to be unrelated to the Servlet 3.0 work, so I'm marking this as resolved now.
        Hide
        Ted Goddard added a comment -

        The workaround with ACECompatibleExternalContextFactory is no longer necessary.

        Show
        Ted Goddard added a comment - The workaround with ACECompatibleExternalContextFactory is no longer necessary.
        Hide
        Krashan Brahmanjara added a comment -

        This change destroy behaviour of old Icefaces apps with error

        SEVERE: Error Rendering View[/zad.jspx]
        java.lang.IllegalStateException: Component ID zadFrm:ice_fileEntry_encodedURL has already been found in the view.
        at com.sun.faces.util.Util.checkIdUniqueness(Util.java:987)
        at com.sun.faces.util.Util.checkIdUniqueness(Util.java:971)
        at com.sun.faces.util.Util.checkIdUniqueness(Util.java:971)
        at com.sun.faces.util.Util.checkIdUniqueness(Util.java:971)
        at com.sun.faces.util.Util.checkIdUniqueness(Util.java:971)
        at com.sun.faces.util.Util.checkIdUniqueness(Util.java:971)
        at com.sun.faces.util.Util.checkIdUniqueness(Util.java:971)
        at com.sun.faces.application.view.FaceletPartialStateManagementStrategy.saveView(FaceletPartialStateManagementStrategy.java:461)
        at com.sun.faces.application.StateManagerImpl.saveView(StateManagerImpl.java:89)
        at javax.faces.application.StateManager.getViewState(StateManager.java:593)
        at com.icesoft.faces.context.CompatDOMPartialViewContext$WriteViewStateMarkup.write(CompatDOMPartialViewContext.java:65)
        at org.icefaces.impl.util.DOMUtils.printNode(DOMUtils.java:378)
        at org.icefaces.impl.util.DOMUtils.printNode(DOMUtils.java:355)
        at org.icefaces.impl.util.DOMUtils.printNodeCDATA(DOMUtils.java:286)
        at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:262)
        at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:1004)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1896)
        at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:425)
        at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
        at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
        at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:647)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)

        Show
        Krashan Brahmanjara added a comment - This change destroy behaviour of old Icefaces apps with error SEVERE: Error Rendering View [/zad.jspx] java.lang.IllegalStateException: Component ID zadFrm:ice_fileEntry_encodedURL has already been found in the view. at com.sun.faces.util.Util.checkIdUniqueness(Util.java:987) at com.sun.faces.util.Util.checkIdUniqueness(Util.java:971) at com.sun.faces.util.Util.checkIdUniqueness(Util.java:971) at com.sun.faces.util.Util.checkIdUniqueness(Util.java:971) at com.sun.faces.util.Util.checkIdUniqueness(Util.java:971) at com.sun.faces.util.Util.checkIdUniqueness(Util.java:971) at com.sun.faces.util.Util.checkIdUniqueness(Util.java:971) at com.sun.faces.application.view.FaceletPartialStateManagementStrategy.saveView(FaceletPartialStateManagementStrategy.java:461) at com.sun.faces.application.StateManagerImpl.saveView(StateManagerImpl.java:89) at javax.faces.application.StateManager.getViewState(StateManager.java:593) at com.icesoft.faces.context.CompatDOMPartialViewContext$WriteViewStateMarkup.write(CompatDOMPartialViewContext.java:65) at org.icefaces.impl.util.DOMUtils.printNode(DOMUtils.java:378) at org.icefaces.impl.util.DOMUtils.printNode(DOMUtils.java:355) at org.icefaces.impl.util.DOMUtils.printNodeCDATA(DOMUtils.java:286) at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:262) at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:1004) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1896) at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:425) at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131) at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:647) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
        Hide
        Ted Goddard added a comment -

        Please attach a simple test case that reproduces the problem and indicate which ICEfaces versions it has been tested with (and which pass and which fail).

        Show
        Ted Goddard added a comment - Please attach a simple test case that reproduces the problem and indicate which ICEfaces versions it has been tested with (and which pass and which fail).
        Hide
        Krashan Brahmanjara added a comment -

        Comment and workaround attached to ICE-9885

        Show
        Krashan Brahmanjara added a comment - Comment and workaround attached to ICE-9885

          People

          • Assignee:
            Mark Collette
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: