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

            Assignee:
            lily.chi Lily Chi
            Reporter:
            lily.chi Lily Chi
            Participants of an Issue:
            Recent user:
            Rafaela Nascimento
            Engineering Assignee:
            Lily Chi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              38 weeks, 5 days ago

                Packages

                Version Package
                7.4.0 CE GA1 DXP 7,4
                Master