ICEfaces
  1. ICEfaces
  2. ICE-4227

The inputFile component fails when used in .ear and web's context-root set to "/"

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8RC2
    • Fix Version/s: 1.7.2-SP2, 1.8RC2, 1.8
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      inputFile + .ear

      Description

      The inputFile component fails when used in .ear and web's context-root set to "/". Its due to the reason that the com.icesoft.faces.component.inputfile.InputFile#getUploadServletPath() returns "./uploadHtml" when context path is null or empty and the fact that the contents of the iframe are served by the resource API. The upload button try to post to the /resourceURI/uploadHtml which doesn't exist.

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #18615 Thu Mar 19 09:57:46 MDT 2009 adnan.durrani Backporting fix for ICE-4227 (The inputFile component fails when used in .ear and web's context-root set to "/")
          Files Changed
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/component/src/com/icesoft/faces/component/inputfile/InputFile.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #18614 Thu Mar 19 09:42:25 MDT 2009 adnan.durrani Fix for ICE-4227 (The inputFile component fails when used in .ear and web's context-root set to "/")
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/inputfile/InputFile.java

            People

            • Assignee:
              Unassigned
              Reporter:
              Adnan Durrani
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: