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

Media Gallery: Unable to upload any files

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.0.0 M3
    • Fix Version/s: 7.0.0 M3
    • Component/s: DM, DM > Media Gallery
    • Labels:
      None
    • Fix Priority:
      3

      Description

      Steps to reproduce:

      1. Add 'Media Gallery' portlet
      2. Click 'Add Media' > Click 'Basic Document'
      3. Click 'Browse' > Select a .jpeg file
      4. Click 'Publish'

      Expected result:
      The ability to upload media files with the correct file extension.

      Actual result:
      I don't get a console error, but I do get an error on the page despite choosing correct and incorrect file formats:

       Media files must be one of the following formats: audio/basic,audio/mid,audio/midi,audio/mod,audio/mp3,audio/mpeg,audio/mpeg3,audio/ogg,audio/vorbis,audio/wav,audio/x-mid,audio/x-midi,audio/x-mod,audio/x-mpeg,audio/x-pn-realaudio,audio/x-realaudio,audio/x-wav,image/bmp,image/gif,image/jpeg,image/pjpeg,image/png,image/tiff,image/x-citrix-jpeg,image/x-citrix-png,image/x-ms-bmp,image/x-png,image/x-tiff,video/avi,video/mp4,video/mpeg,video/ogg,video/quicktime,video/webm,video/x-flv,video/x-m4v,video/x-ms-wmv,video/x-msvideo. 

      Issue was discovered through the following automated test failure:

      com.liferay.portalweb2.enduser.documentmanagement.pgmediagallery.PGMediagalleryTestCase.testEditFolderDocument

      http://build-1/1/view/liferay-portal%28master%29/job/liferay-portal-frontend-tomcat(master)%5Bportal-document-management%5D/lastCompletedBuild/label_exp=!build-1,test=PGMediagalleryTestCase%23testEditFolderDocument/

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 14 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 M3