Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-30797

UploadRequest can be used only one time

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 6.1.1 CE GA2
    • Fix Version/s: 6.1.1 CE GA2
    • Component/s: ~[Archived] WCM
    • Labels:
      None

      Description

      From a portlet action when you use the UploadRequest(PortalUtil.getUploadPortletRequest(request)) can only be used one time.
      The second time you cant find the parameters...

      Sample:
      ParamUtil.getString(PortalUtil.getUploadPortletRequest(request),"parameterName"); //Correct values
      ParamUtil.getString(PortalUtil.getUploadPortletRequest(request),"parameterName"); //NULL

      I had this problem because i have some methods in ActionUtil for getting same parameters from request... so, i change my methods to expect an UploadRequest not the ActionResquest... so this way i only get the UploadRequest one time.

        Attachments

          Activity

            People

            Assignee:
            mika.koivisto Mika Koivisto (Inactive)
            Reporter:
            robsonximenes Robson Ximenes (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              9 years, 20 weeks, 1 day ago

                Packages

                Version Package
                6.1.1 CE GA2