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

Uploading invalid file type in Documents and Media does not result in error

    Details

      Description

      1. Go to > Control Panel > Server Administration > File Uploads
      2. Enter .bmp,.css,.doc,.docx,.dot,.gif,.gz,.htm,.html,.jpg in the Allowed File Extensions field for Documents and Media
      3. Click Save
      4. Click Back to Liferay
      5. Add Documents and Media portlet
      6. Click Add > Basic Document
      7. Click Browse
      8. Upload a file not included in the Allowed File Extensions (I used a .bat)
      9. Click Publish

      Expected result:
      Error message reading "Please enter a value with a valid extension (.bmp,.css,.doc,.docx,.dot,.gif,.gz,.htm,.html,.jpg)." should display.

      Actual result:
      File fails to upload, but a success message reading "Your request completed successfully." displays.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              andrew.entzminger Andrew Entzminger (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 33 weeks, 1 day ago

                  Packages

                  Version Package
                  6.1.30 EE GA3
                  6.1.X EE