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

    • 4
    • Regression Bug

    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

              support-lep@liferay.com SE Support
              andrew.entzminger Andrew Entzminger (Inactive)
              Marta Elicegui Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9 years, 2 weeks, 5 days ago

                Packages

                  Version Package
                  6.1.30 EE GA3
                  6.1.X EE