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

Detect upload exceptions in the JSON WS

    Details

      Description

      When uploading files via JSONWS (e.g. /api/jsonws/dlapp/add-file-entry) that are larger then value specified in property:

      com.liferay.portal.upload.UploadServletRequestImpl.max.size
      

      there will be exception logged, but not propagated; uploaded parameter will not be available; therefore JSONWS engine will not be able to match target service API due to missing argument.

      We should instead detects this error and returns usual error JSON message.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mark.jin Mark Jin (Inactive)
                Reporter:
                igor.spasic Igor Spasic (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:
                  7 years, 11 weeks, 3 days ago

                  Packages

                  Version Package
                  6.1.30 EE GA3
                  6.2.0 CE M4