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

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Salesforce Case Reference 5007000000YbwOOAAZ
        Hide
        Arran Mccullough added a comment -

        Attached source code for test.

        Show
        Arran Mccullough added a comment - Attached source code for test.
        Arran Mccullough made changes -
        Attachment Case12574Example.zip [ 16657 ]
        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 .
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 10770 ]
        Fix Version/s EE-3.3.0.GA_P02 [ 11371 ]
        Assignee Mircea Toma [ mircea.toma ]
        Affects Version/s EE-3.3.0.GA_P02 [ 11371 ]
        Assignee Priority P1 [ 10010 ]
        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.
        Mircea Toma made changes -
        Comment [ Just fixing the pages in the test case to avoid generating head updates (which should still work) makes the link work properly, with or without <multipart-config/> set. ]
        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.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Cannot Reproduce [ 5 ]
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: