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

              brian.chan Brian Chan
              david.nebinger David Nebinger
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                6 years, 14 weeks 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