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

Resources are not being reindexed when imported through the resource-importer portlet

    Details

      Description

      after importing a custom theme that uses the resource importer to create some journal articles, the user must execute a reindex in order for the assets to show up.

      the resource-importer-web plugin is calling reindex, but it is not successfully because of the checks added by LPS-53848 to BaseIndexer.

      the thread locals can still be set to true during the import process, but they should be set to false when the reindex logic is executed because otherwise no reindexing will take place.

      1. Deploy the attached resources-importer-web.
      2. Deploy custom theme that depends on resources-importer and that creates journal articles
      3. Check the journal table of Liferay's database to ensure that the theme's Web Content articles have been imported.
      4. On the default page, add a search portlet.
      5. Search for one of the Web Content articles.

      actual behavior: the article will not be found
      expected behavior: the article will be found

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                felix.zhang Felix Zhang
                Reporter:
                andrew.betts Andrew Betts
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 45 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.X EE