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

          Adnan Durrani created issue -
          Adnan Durrani made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.8RC2 [ 10163 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Link This issue blocks ICE-4181 [ ICE-4181 ]
          Ken Fyten made changes -
          Salesforce Case []
          Affects Version/s 1.8RC2 [ 10163 ]
          Ken Fyten made changes -
          Fix Version/s 1.8 [ 10161 ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 1.7.3 [ 10162 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: