ICEfaces
  1. ICEfaces
  2. ICE-9273

ace:fileEntry - Add support for Servlet 3 multi-part uploads

    Details

    • Assignee Priority:
      P2
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration

      Description

      file-callback (all browsers): new failure in automation (passed in previous regressions on Tomcat6/Mojarra 2.1)
      Fails manually to return MD5 checksum on file upload; passes with Mojarra 2.1.

      Steps:
      - build file-callback tutorial using Mojarra 2.2, and deploy to tomcat7.
      - click on 'Browse' button to upload file:
      C:\svn\repo\qa\trunk\Regression-Icefaces2\Sparkle\Nightly\fileEntry\web\files\1
      - click on 'Get MD5 Checksum' -> no message is rendered on the page.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38322 Mon Sep 30 17:09:55 MDT 2013 art.zambrano ICE-9273 reverted previous changes regarding the replacement of the Part class with Apache Commons FileItem, in order to make things work with Mojarra 2.2; added reflection code to determine whether the Servlet API 3.0 is in use and proceed with existing ways of handling the multi-part portions that cover all scenarios (Servlet 3.0 + Mojarra 2.2, Servlet 3.0 + Mojarra 2.1, and Servlet 2.5 + Mojarra 2.1)
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryResourceHandler.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38314 Mon Sep 30 11:04:16 MDT 2013 art.zambrano ICE-9273 replaced use of javax.servlet.http.Part with use of Apache Commons FileUpload classes in order to restore compatibility with Servlet 2.5 API and under
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryResourceHandler.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37714 Thu Aug 29 11:01:40 MDT 2013 mark.collette ICE-9273 : ace:fileEntry fails to upload files (Mojarra 2.2)
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryResourceHandler.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37399 Tue Aug 13 18:40:08 MDT 2013 mark.collette ICE-9273 : ace:fileEntry fails to upload files (Mojarra 2.2)
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryResourceHandler.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/util/CharacterEncodingHandler.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/tutorials/file-callback-tutorial/src/main/webapp/resources/css/ice-tutorial-style.css
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/ProgressListenerResourcePusher.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/apache/commons/fileupload/FileUploadBase.java
        Commit graph ADD /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/PushResourceSetup.java

          People

          • Assignee:
            Ken Fyten
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: