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

              • Assignee:
                summer.zhang Summer Zhang
                Reporter:
                balazs.safrany-kovalik Balázs Sáfrány-Kovalik
                Participants of an Issue:
                Recent user:
                Jason Pince
                Engineering Assignee:
                Norbert Kocsis (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  20 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 DXP FP91
                  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
                  Master