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

Unsafe cast in WebServerServlet to LiferayFileEntry

    Details

      Description

      Unsafe cast in WebServerServlet to LiferayFileEntry

      Steps

      1. Deploy DL File Name Hook
      2. Upload an image to the document library

      Expected
      No issues.
      Result
      ClassCastException is thrown and thumbnail does not display.

        Attachments

        1. dl-file-name-hook-6.2.10.1.war
          89 kB
          Preston Crary
        2. fixed.png
          47 kB
          Yvonne Han
        3. reproduced_1.png
          17 kB
          Yvonne Han
        4. reproduced.png
          16 kB
          Yvonne Han

          Issue Links

            Activity

              People

              Assignee:
              yvonne.han Yvonne Han
              Reporter:
              preston.crary Preston Crary (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 31 weeks ago

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M3