Type: Regression Bug
Affects Version/s: Master
Component/s: Core Infrastructure
LPS-33201 caused this. LPS-33201 added error messages displayed in UI, but it never worked. I guess LPS-33201 expected behavior didn't include this, so we missed the test.
Steps to Reproduce
1 Create one widget page called testPage
2 In testPage, add Web Content Display portlet, remember its portletId, called com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_4oEzRVjfCldc
3 Navigate to Content > Web Content
4 Create a structure called testStructure and add a text field
5 Create a template called testTemplate, add testStructure as the structure and add the following in the script(the script used step 2 created Web Content Display portlet as embedded portlet):
6 Create one web content with testStructure, called testArticle.
7 Go to ** testPage, select testArticle displayed in Web Content Display portlet (Step 2 created the portlet).
The message "The application can not include itself." should display in UI.
The message "null" display in UI.