PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-31320

Parameters aren't copied by copy-request-parameters if encoding is MULTIPART_FORM_DATA

    Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
    • Fix Version/s: 6.1.30 EE GA3, 6.2.0 CE M3
    • Component/s: WCM
    • Labels:
    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      3
    • Similar Issues:
      Show 5 results 

      Description

      If a portlet's form:

      1. isWARFile
      2. !isStrutsPortlet
      3. contentType = MULTIPART_FORM_DATA

      then it's parameters aren't being copied over since a UploadServletRequest wrapper isn't being applied to the request.

        Issue Links

          Activity

          Hide
          Brian Chan added a comment -

          This is technically a bug in core, but there is a simple work around, that Shinn will document in this ticket. So we're only going to fix in master.

          Show
          Brian Chan added a comment - This is technically a bug in core, but there is a simple work around, that Shinn will document in this ticket. So we're only going to fix in master.
          Hide
          Shinn Lok added a comment -

          PortalUtil.copyRequestParameters(UploadPortletRequest uploadPortletRequest, ActionResponse actionResponse)

          is now available in portal-compat-shared.

          The workaround applied to affected ee-6.1.x plugins is to call this to copy parameters manually.

          Show
          Shinn Lok added a comment - PortalUtil.copyRequestParameters(UploadPortletRequest uploadPortletRequest, ActionResponse actionResponse) is now available in portal-compat-shared. The workaround applied to affected ee-6.1.x plugins is to call this to copy parameters manually.
          Hide
          Tammy Fong added a comment -

          Committed on:
          Portal 6.2.x GIT ID: f8bfd11e36a4b3b02cc549f199c968f3bf7ffded.

          Show
          Tammy Fong added a comment - Committed on: Portal 6.2.x GIT ID: f8bfd11e36a4b3b02cc549f199c968f3bf7ffded.
          Hide
          Luyang Tan (Inactive) added a comment -

          After emailed with the developer Wesley Gong. This can't be tested manually by QA.

          Show
          Luyang Tan (Inactive) added a comment - After emailed with the developer Wesley Gong. This can't be tested manually by QA.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 51 weeks, 3 days ago

                Development

                  Structure Helper Panel