ICEfaces
  1. ICEfaces
  2. ICE-9799

h:commandLink not working without <multipart-config/> in web.xml

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: EE-3.3.0.GA_P01
    • Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02, 4.0
    • Component/s: ACE-Components, Framework
    • Labels:
      None
    • Environment:
      ICEfaces EE 3.3.0 P01, ICEmobile EE 1.3.0, Tomcat 7, Websphere 8.5
    • Assignee Priority:
      P1
    • Salesforce Case Reference:
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      In Tomcat, adding in the <multipart-config/> for the Faces Servlet declaration resolves the issue.

          <servlet>
              <servlet-name>Faces Servlet</servlet-name>
              <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
              <load-on-startup>1</load-on-startup>
              <multipart-config/>
          </servlet>
      Show
      In Tomcat, adding in the <multipart-config/> for the Faces Servlet declaration resolves the issue.     <servlet>         <servlet-name>Faces Servlet</servlet-name>         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>         <load-on-startup>1</load-on-startup>         <multipart-config/>     </servlet>

      Description

      With an app that uses both ICEfaces and ICEmobile, there is an issue where clicking on an h:commandLink doesn't work when clicked.

      In Tomcat, adding in the <multipart-config/> for the Faces Servlet declaration resolves the issue. Unfortunately this isn't the case for Websphere 8.5.

      The issue seems to be due to some changes for the FileEntry component for Servlet 3 support.

        Activity

        Hide
        Arran Mccullough added a comment -

        Attached source code for test.

        Show
        Arran Mccullough added a comment - Attached source code for test.
        Hide
        Ken Fyten added a comment -

        Note that the original work to make ace:fileEntry play nice when using Servlet 3 was completed in ICE-9273.

        Show
        Ken Fyten added a comment - Note that the original work to make ace:fileEntry play nice when using Servlet 3 was completed in ICE-9273 .
        Hide
        Arran Mccullough added a comment -

        Customer has reported that using the configuration as described in the following link has resolved the issue in WebSphere for them: http://wiki.icesoft.com/display/ICEmobileEE/Websphere

        Show
        Arran Mccullough added a comment - Customer has reported that using the configuration as described in the following link has resolved the issue in WebSphere for them: http://wiki.icesoft.com/display/ICEmobileEE/Websphere
        Hide
        Mircea Toma added a comment - - edited

        Running the test case on Tomcat I cannot see any difference in behaviour when running with or without <multipart-config/> set. In both cases the link works just fine.

        Show
        Mircea Toma added a comment - - edited Running the test case on Tomcat I cannot see any difference in behaviour when running with or without <multipart-config/> set. In both cases the link works just fine.
        Hide
        Mircea Toma added a comment -

        Most probably Websphere cannot read the annotation @MultipartConfig annotation that the FacesServlet has. So to enforce the feature <multipart-config/> configuration is needed.

        Show
        Mircea Toma added a comment - Most probably Websphere cannot read the annotation @MultipartConfig annotation that the FacesServlet has. So to enforce the feature <multipart-config/> configuration is needed.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: