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

Search portlet does not find DDL records that are on a different site and search scope is set to "Everything"

    Details

      Description

      Steps to reproduce:
      1. Log in with OmniAdmin
      2. Create a new site and add a public page to it.
      3. Create a new Dymic Data Definition with a simple text field. Create a new DDL based on this definition.
      4. Add to the page created earlier a Dynamic Data List Display portlet.
      5. Add a record based on the previously created definition, fill the text field with "abc".
      6. Add a Search portlet to another site of the portal. Click on Configuration, choose "Advanced" under display settings and add the following line to the AssetEntriesFacet:

      "com.liferay.portlet.dynamicdatalists.model.DDLRecord"
      

      so that the portlet searches for DDLs as well.

      It should look like this:

          {
              "className": "com.liferay.portal.kernel.search.facet.AssetEntriesFacet",
              "data": {
                  "frequencyThreshold": 1,
                  "values": [
                      "com.liferay.portal.model.User",
                      "com.liferay.portlet.bookmarks.model.BookmarksEntry",
                      "com.liferay.portlet.bookmarks.model.BookmarksFolder",
                      "com.liferay.portlet.blogs.model.BlogsEntry",
                      "com.liferay.portlet.documentlibrary.model.DLFileEntry",
                      "com.liferay.portlet.documentlibrary.model.DLFolder",
                      "com.liferay.portlet.dynamicdatalists.model.DDLRecord",
                      "com.liferay.portlet.journal.model.JournalArticle",
                      "com.liferay.portlet.journal.model.JournalFolder",
                      "com.liferay.portlet.messageboards.model.MBMessage",
                      "com.liferay.portlet.wiki.model.WikiPage"
                  ]
              },
              "displayStyle": "asset_entries",
              "fieldName": "entryClassName",
              "label": "asset-type",
              "order": "OrderHitsDesc",
              "static": false,
              "weight": 1.5
          },
      

      Save.
      7. Search with "abc", scope "Everything":

      Actual result No results
      Expected result: Search should find the related DDL record.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              haoliang.wu Haoliang Wu (Inactive)
              Reporter:
              tibor.lipusz Tibor Lipusz
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 4 weeks, 1 day ago

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1