-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.1.30 EE GA3, 6.2.10 EE GA1
-
Fix Version/s: 6.2.2 CE GA3 , 6.2.X EE, 7.0.0 M1
-
Component/s: Portal Services, Search Infrastructure
-
Branch Version/s:6.2.x
-
Backported to Branch:Committed
-
Story Points:3
-
Fix Priority:3
-
Git Pull Request:
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.