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

Wrong error message from Multiple File Uploader when request is killed by external server

Details

    Description

      Description
      When an unexpected error occurs during the file upload process on the Upload Multiple File Entries page, Liferay displays the wrong error message in the UI. Rather than displaying the string "an-unexpected-error-occurred-while-uploading-your-file," Liferay displays the following: "an-unexpected-error-occurred-while-deleting-the-file."

      Steps to Reproduce
      1. Set up an Apache web server in front of Liferay
      2. Start up Liferay and access Liferay through the web server URL
      3. Navigate to Documents and Media and add a document using the Multiple File Uploader
      4. Drag and drop a large file (i.e. 4GB), and then click Publish
      5. While the document is publishing, stop the Apache web server

      Expected Result: User sees an error in the UI stating that an unexpected error occurred while uploading the file.
      Actual Result: User sees this error in the UI stating that an unexpected error occurred while deleting the file.

      Reproduced in
      master: 9d0da4ae005b1b139c8059947c32ff873077fa88
      7.2.x: cac425dbb90de25641023cd7765c74e4df914953

      Attachments

        Activity

          People

            jeremy.chen Jeremy Chen
            michael.bowerman Michael Bowerman
            Kiyoshi Lee Kiyoshi Lee
            Michael Bowerman Michael Bowerman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 32 weeks, 1 day ago

              Packages

                Version Package
                7.2.10 DXP FP15
                7.2.X
                7.3.10.3 DXP SP3
                7.3.X
                7.4.2 CE GA3 DXP 7,4
                7.4.13 DXP GA1
                Master