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

Some ClientAbortException's full stack trace may appear at WARN level when downloading files with range header

    Details

      Description

      Steps to reproduce:

      1. Upload a big video whose mime type is listed in property web.server.servlet.accept.ranges.mime.types (video/mp4 for example) to Documents Admin
      2. Copy its download URL
      3. Execute the command "wget <DOWNLOAD_URL>" via command line
      4. Press CTRL+C before finishing the download
      5. Check that no logs are shown
      6. Increase log levels for com.liferay.portal.kernel.servlet.ServletResponseUtil to WARN
      7. Repeat steps 4 and 5

      Expected results:

      • A warning message is shown without any stack trace

      Actual results:

      • A warning message is shown
      • The stack trace is printed afterwards. (This stack trace should only be visible at DEBUG level)

        Attachments

          Activity

            People

            Assignee:
            summer.zhang Summer Zhang
            Reporter:
            daniel.couso Daniel Couso
            Participants of an Issue:
            Recent user:
            Sophia Zhang
            Engineering Assignee:
            Daniel Couso
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              39 weeks, 4 days ago

                Packages

                Version Package
                7.2.10 DXP FP13
                7.2.X
                7.3.7 CE GA8
                7.3.10 DXP FP2
                7.3.X
                7.4.0 CE GA1 DXP 7,4
                7.4.13 DXP GA1
                Master