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

Single file uploader needs to respect the wildcard if multiple file restrictions are defined

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.1.X, Master
    • Fix Version/s: Master
    • Component/s: DM
    • Labels:

      Description

      Steps to reproduce:

      1. Navigate to System Settings > Documents and Media > Service
      2. Define two valid file extensions: .doc and *. Since * is defined, this should override any other definitions
      3. Upload some images using the multiple file uploader and assert uploading and publication is successful
      4. Navigate to single file uploader and upload image

      Expected result:
      Since all file extensions should be valid, the uploader accepts the image.

      Actual result:
      The uploader rejects the image.

      Reproduced on:
      Tomcat 9.0.17 + MySQL 5.7.
      Portal master 660158104f746c81f1db4246e5017ec1220331ce
      Portal 7.1 CE GA2

        Attachments

        1. reject.PNG
          reject.PNG
          43 kB
        2. two.PNG
          two.PNG
          30 kB

          Activity

            People

            • Assignee:
              austin.chiang Austin Chiang
              Reporter:
              austin.chiang Austin Chiang
              Participants of an Issue:
              Recent user:
              Austin Chiang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                40 weeks, 6 days ago

                Packages

                Version Package
                Master