Affects Version/s: 6.2.X EE
Component/s: Dynamic Data Mapping
The issue only occurs in ee-6.2.x. On master,
LPS-48328 rewirte the logic so that it can avoid the issue. Due to the issue occurs unclean data, but out logic doesn't throw one exception to skip this and our logic also considers the case, so it needs to be fixed.
The case is the following:
1.Go to Liferay->Site Administration->Web Content->Manage->Structures, create one ParentStructure "parent", add text field for it.
2. Create another childStructure "child" and select its parentStructure "parent", add Separator field for it.
3. Add one template and connect with "child" structure.
4.Go to Liferay->Site Administration->Web Content->Manage->Structures,
click "Edit default values" on "child", and then save this Structure default values(it is one journalArticle data).
At this time, its content fields will include:
<dynamic-element name="Separator" type="selection_break" index-type="keyword" index="0" instance-id="ryac"/>
<dynamic-element name="Text" type="text" index-type="keyword" index="0" instance-id="vgha">
Assumption: its content includes one addition field <dynamic-element name="news_bar1" index="0" type="selection_break" index-type=""/>. This is unclean data.
5. Add one web content based on "child" structure, the page will be still loading.