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

    • Bug
    • Status: Closed
    • Resolution: Won't Fix
    • 6.1.1 CE GA2
    • 6.1.1 CE GA2
    • WCM
    • 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

            mika.koivisto Mika Koivisto (Inactive)
            robsonximenes Robson Ximenes (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 12 weeks, 4 days ago

              Packages

                Version Package
                6.1.1 CE GA2