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

Increase the length of DDMFiled's InstanceId

Details

    Description

      Portal needs to create a unique index on DDMFiled:

      create unique index IX_1BB20E75 on DDMField (storageId, instanceId[$COLUMN_LENGTH:75$], ctCollectionId);
      

      We use StringUtil.randomId() to produce the random String, its length is only 4 that is not enough to avoid producing the same String when user use SampleSQLBuilder to generate a lot of DDMFiled with same storageId and ctCollectionId.

      Attachments

        Activity

          People

            lily.chi Lily Chi
            lily.chi Lily Chi
            Kiyoshi Lee Kiyoshi Lee
            Lily Chi Lily Chi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 39 weeks, 4 days ago

              Packages

                Version Package
                7.4.0 CE GA1 DXP 7,4
                7.4.13 DXP GA1
                Master