-
Type:
Regression Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: Master
-
Fix Version/s: 7.4.0 CE GA1, 7.4.2 CE GA3, 7.4.13 DXP GA1, Master
-
Component/s: Data Engine, Forms
-
Labels:
-
Fix Priority:4
-
Sprint:Data_Engine_7.4_10
-
Git Pull Request:
Introduction:
Since field names are now hidden from the UI, users should use field references whenever they can to search for documents in the search engine.
Steps to reproduce:
- Go to Content & Data > Web Content and click on the Structures tab;
- Click to add a new structure;
- Add a text field and, in its advanced settings, change the field reference to any name you prefer;
- Save the structure;
- Go back to the Web Content tab and click to create a new content based on the structure just created;
- Fill the title, content and publish it;
- Search your search engine index for documents with entryClassName equals to "com.liferay.journal.model.JournalArticle" (if you're using Elasticsearch, you can use elasticsearch-head for an easy visualization of the index).
Actual result:
Documents having the following field where its ddmFieldName is composed by field's name (no more available in the UI):
"ddmFieldArray": [ { "ddmFieldName": "ddm__keyword__31917__Text54132543_en_US", "ddmFieldValueKeyword_en_US": "test text", "ddmFieldValueKeyword_en_US_String_sortable": "test text", "ddmValueFieldName": "ddmFieldValueKeyword_en_US" } ],
Expected result:
Documents having the following field where its ddmFieldName is composed by field's reference (available in the UI since 7.3 FP1):
"ddmFieldArray": [ { "ddmFieldName": "ddm__keyword__31917__MyCustomText_en_US", "ddmFieldValueKeyword_en_US": "test text", "ddmFieldValueKeyword_en_US_String_sortable": "test text", "ddmValueFieldName": "ddmFieldValueKeyword_en_US" } ],
- causes
-
LPS-158040 Filter by Field doesn't work when used with a Collection
- Closed
- depends on
-
LPS-128344 Investigate the viability of swapping the "field name" with the "field reference" when forming the field name during the indexation
-
- Closed
-
- is caused by
-
LPS-121561 No more Field name in Liferay Forms
- Closed
-
LPS-103890 DDM UPGRADE: Apply the new form builder and renderer to Web Content Structures
-
- Closed
-