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

index.on.startup not working for some entities (asset types)

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: 7.0.X, 7.1.X, 7.2.0 GA1, 7.2.X, Master
    • Fix Version/s: None
    • Labels:

      Description

      Master/7.1.x: Not affected because the code has changed due to the new Indexer APIs (DocumentContributors).

      Updates (July 9): AssetEntryDocumentContributor does the very same logic to get AssetRendererFactory for the className as BaseIndex.addAssetFields did. It's just the wiring (document building by contributors) that has changed. So this is also reproducible on newer versions (sporadically) (See LPS-97747).

      Keep in mind the following about this property though:

      This property is available so that automated test environments index on startup. Do not set this to true on production systems ...


      Steps to Reproduce:

      1. Create a web content.
      2. Add an Asset Publisher.
      3. Stop the portal.
      4. Remove files from elasticsearch folder.
      5. Restart the portal configuring index.on.startup to true.

      Expected Results:
      Web content should be viewed in the Asset Publisher after reindexation in the startup.

      Actual Results:
      Web content isn't viewed.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Days since last comment:
                  2 weeks, 2 days ago

                  Packages

                  Version Package