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

FileExtensionException not handled in Wiki Classic file uploader

    Details

      Description

      Reproduction with Internet Explorer 9:
      1. Add the following line to portal-ext.properties
      dl.file.extensions=.jpg,.gif,.png,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.pps,.pdf,.flv,.mp4,.mov,.m4v,.f4v

      2. Start Liferay and add a Wiki (or Wiki Display) portlet to a page
      3. Upload an exe file (or any other type not listed above) as an attachment using the classic uploader
      4. A popup message is shown that it is not permitted to upload it
      5. After clicking OK the file name is still in the input field, so it is possible to click Save (in other browsers the field is cleared)
      6. After clicking Save the portlet displays "Wiki is temporarily unavailable."

      The issue is reproducible in 6.1.x as well. It couldn't be tested in trunk the attachment upload feature doesn't seem to work. The only uploader which works is the dynamic uploader in Firefox. That issue can be tracked in LPS-33026.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ginson.ren Ginson Ren
              Reporter:
              akos.thurzo Akos Thurzo (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 47 weeks, 3 days ago

                  Packages

                  Version Package
                  6.1.30 EE GA3
                  6.2.0 CE M4