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

image.tool.image.max.height and image.tool.image.max.width don't work as stated

    Details

      Description

      A value of 0 indicates no restrictions for image.tool.image.max.height or image.tool.image.max.width, but setting 0 as value throws always an ImageResolutionException.

      Steps to Reproduce:

      1. In portal-ext.properties set image.tool.image.max.height and/or image.tool.image.max.width to 0.
      2. Try to upload any document from Documents and Media.

      Expected Results:
      No ImageResolutionException should appear in logs.

      Current Results:
      An ImageResolutionException appears in logs.

        Attachments

          Activity

            People

            Assignee:
            shitian.zhang Shitian "Shelton" Zhang (Inactive)
            Reporter:
            mariano.alvaro Mariano Álvaro
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 37 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP7
                7.0.0 DXP SP1
                7.0.3 CE GA4
                7.1.X
                Master