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

All ratings entries of the entire portal are checked when creating a Site from a Site Template

    Details

      Description

      This is the continuation of LPS-72658.
      LPS-72658 adds an extra check when the rating entries are exported, to make the process faster by not including the unrelated rating entries.

      This issue is about a more specific use case, when we are creating a Site from a Site Template, which is an export/import in the background.
      In this case, there is no need to check all the rating entries whether they belong to the Site Template, because the content is exported/imported as well, which triggers the related rating entries' export/import.

      Possible reproduction steps:
      1. Create 10000 blogs and ratings entries by running the attached Groovy script on LPS-72658.
      2. Create a Site from a Site Template

      The process still takes some time, even though the performance is much better than it was before LPS-72658.
      Applying the fix for this issue should make the Site creation faster, as the export process won't check all the 10000 rating entries one by one.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                summer.zhang Summer Zhang
                Reporter:
                tamas.molnar Tamas Molnar (Inactive)
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 37 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP46
                  7.0.6 CE GA7
                  7.0.0 DXP SP8
                  7.0.X
                  7.1.X
                  Master