ICEfaces
  1. ICEfaces
  2. ICE-11253

FileEntryUpload.java does not add URL parameters to the ExternalContext request parameter map

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.BETA
    • Fix Version/s: 4.2
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Reproducible in a portlet environment, but technically not a portlet issue.
    • Assignee Priority:
      P1

      Description

      When uploading a file, visible input fields and hidden input fields will be returned as parts. But parameters found on the URL contained in the form's action attribute are not returned as parts.

      FileEntryUpload.java only builds up a list of parameters from the parts that it finds. It needs to add the URL parameters as well.

      For example, in a portlet environment the following are URL parameters:
      ice.view=vtggqoq1:0
      _jsfBridgeAjax=true
      ice.fileEntry.multipart=true
      ice.window=isizq7jutb
      _facesViewIdResource=/WEB-INF/views/portletViewMode.xhtml

      h3. Steps to Reproduce:

      A. Follow steps #1 - #11 in ICE-11241.

      B. Using the browser inspection tools, view the list of network requests

      C. Using the "Choose Files" button, select a file to upload.

      D. Click on the "Add Attachment" button

      (/) Expected Results

      The file is uploaded and appears in the list of uploaded files.

      (x) Actual Results

      The file is not uploaded and does not appear in the list of uploaded files and the partial-response will contain markup outside of the <partial-response>...</partial-response>

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #50939 Mon Mar 06 14:19:56 MST 2017 mircea.toma ICE-11253 Merge in the URL parameters of the upload request.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryUpload.java

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Neil Griffin
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: