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

No error message while uploading invalid file in DDL

    Details

      Description

      1. Control Panel > Configuration > Server Administration > File Uploads
      2. Locate the Documents and Media section
      3. Change "Allowed File Extensions" to .jpg
      4. Add a DDL
        • Choose a Data Definition with a Document and Media field (e.g., Events)
      5. Add a new row to the DDL
        • For the Document and Media file, try to upload a non-JPG file (e.g., a GIF)

      Expected Result
      Upload fails and an error message indicating the file cannot be uploaded.
      Actual Result
      Upload fails but there's no error message.


      Reproduced in master: cf38e7fdffbccd7e716f6ac85dbd061227f1c5f

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 41 weeks, 3 days ago

                Packages

                Version Package
                7.0.0 DXP FP34
                7.0.0 DXP FP35
                7.0.0 DXP SP7
                7.0.5 CE GA6
                7.0.X
                7.1.0 M1
                7.1.X
                Master