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

CacheModels use ObjectOutput#writeUTF to cache String fields

Details

    Description

      The generated CacheModel classes' readExternal and writeExternal methods use readUTF and writeUTF to cache String fields.

      These methods will throw a UTFDataFormatException if  the field being serialised is larger than 65536 bytes.

      It is possible to have a Web Content, a Wiki Page or a Blog Page to have content longer than 64KBs, so caching those would trigger the UTFDataFormatException.

      Attachments

        Issue Links

          Activity

            People

              summer.zhang Summer Zhang
              balazs.safrany-kovalik Balázs Sáfrány-Kovalik
              Kiyoshi Lee Kiyoshi Lee
              Norbert Kocsis Norbert Kocsis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3 years, 10 weeks, 4 days ago

                Packages

                  Version Package
                  7.0.0 DXP FP91
                  7.0.10.14 DXP SP14
                  7.0.X
                  7.1.10 DXP FP17
                  7.1.10.4 SP4
                  7.1.X
                  7.2.10 DXP FP5
                  7.2.10.2 DXP SP2
                  7.2.X
                  7.3.1 CE GA2
                  7.3.2 CE GA3
                  7.3.10 DXP GA1
                  Master