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

Entity with 500+ cols generates bad cache model

    Details

      Description

      I have an entity with 517 columns. When generating the cache model class's toString() method, the StringBundler size was created with a comma separator:

      	public String toString() {
      		StringBundler sb = new StringBundler(1,037);
      
      

      It should not have been number-formatted in this way as it causes a compile error about type coercion. The expected result is:

      	public String toString() {
      		StringBundler sb = new StringBundler(1037);
      
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.chan Brian Chan
              Reporter:
              david.nebinger David Nebinger
              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, 40 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP2
                  7.0.0 DXP SP1
                  7.0.3 CE GA4
                  7.0.0 DXP FP46
                  7.0.6 CE GA7
                  7.0.0 DXP SP8
                  7.1.0 Beta 1
                  Master