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

Default values of custom fields should support the same size that are supported by the values

Details

    Description

      Data size support for default value of custom fields is different than their real values

      Steps to reproduce it in Oracle 11.2 DB.

      1. Start the server with an empty Oracle DB.
      2. Check the data type for the respective columns in DB by running

      SELECT TNAME, CNAME, COLTYPE FROM SYS.COL WHERE TNAME IN ('EXPANDOVALUE', 'EXPANDOCOLUMN') AND CNAME IN ('DATA_' , 'DEFAULTDATA');

      Result

      TNAME CNAME COLTYPE
      EXPANDOCOLUMN DEFAULTDATA VARCHAR2
      EXPANDOVALUE DATA_ CLOB

      Expected: Both columns are CLOB.

      Attachments

        Issue Links

          Activity

            People

              hong.zhao Hong Zhao (Inactive)
              jose.jimenez Jose Jimenez
              Marta Elicegui Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                7 years, 13 weeks, 4 days ago

                Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 Alpha 1