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

Uploading a corrupt file as a small image for a template throws exception

    Details

      Description

      To reproduce:
      1. navigate to Content > Web Content > Templates
      2. click on add button
      3. fill in mandatory title field and upload a corrupt image file as small image in the Details section

      Actual result:
      "Dynamic Data Mapping is temporarily unavailable." message is displayed
      Navigations are no longer displayed
      javax.portlet.PortletException: com.liferay.portal.kernel.exception.SystemException: java.io.IOException: Unsupported image type is thrown to console. See trace here.

      Expected:
      Handled exception, so that no exception is thrown to console, and error is message is displayed to user.

      Tested on master 0215c51

        Attachments

          Activity

            People

            Assignee:
            rodrigo.souza Rodrigo Souza (Inactive)
            Reporter:
            maria.kispal Mária Kispál (Inactive)
            Participants of an Issue:
            Recent user:
            Jason Pince
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 30 weeks, 6 days ago

                Packages

                Version Package
                7.1.0 M1
                7.1.X
                Master