PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-32174

Fix VerifyJournal#verifyContentSearch logic and optimize performance

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      3
    • Fix Priority:
      4
    • Similar Issues:
      Show 5 results 

      Description

      7500 JournalContentSearches with the same portletId but different groupIds (site templates populating web content)
      2 JournalContentSearches with the same portletId and same groupId (bug fixed here: LPS-25746)

      Before-

      1. Grab portletIds of JournalContentSearch
      2. Query PortletPreferences with portletId, getting a list of "correct" 7501 correct articleIds (same portletId, groupId has one displayed article)
      3. Iterate 7501 times and updateContentSearch the same one over and over again with a different articleId, (whatever is returned by getArticleContentSearchesByPortletId(portletId) contentSearches.get(1))

      Result: 1 removed

      After-

      1. Grab groupId and preferences of entries with duplicate groupId and portletId (1 result)
      2. Grab articleId from preferences
      3. updateContentSearch once

      Result: 1 removed

        Activity

        Hide
        Edward Gonzales added a comment -

        Hello! We are in the process of removing the "General" component all together. Please help us by removing "General" from the component field and applying a relevant component. Thanks in advance for your help. formercomponentgeneral03202013EG

        Show
        Edward Gonzales added a comment - Hello! We are in the process of removing the "General" component all together. Please help us by removing "General" from the component field and applying a relevant component. Thanks in advance for your help. formercomponentgeneral03202013EG

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 19 weeks, 3 days ago

              Development

                Structure Helper Panel