Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
Master
-
7.3.x
-
Committed
-
4
Description
Reproduction steps:
- Create a new Content Page called "Sample Layout Display Page" and place Asset Publisher portlet on it
- Go to Asset Publisher settings and set:
- "Display Template" to "Full Content"
- Enable "Set as the Default Asset Publisher for This Page"
- Go to Product Menu -> "Design" -> "Page Templates" and select "Display Page Templates"
- Click "+" -> "Blank" -> put the title "Sample Display Page Template" and select "Web Content Article" as "Content Type" and "Basic Web Content" as "Subtype". After adding the template, click on its context menu and select "Mark as Default".
- Create a new Content Page called "Web Contents List" and place Asset Publisher portlet with default settings
- Go to "Product Menu" -> "Web Content", click "+" and select "Basic Web Content"
- Set random article title, configure "Display Page Template" to "Specific Display Page Template", select previously created "Sample Layout Display Page" from "Public Pages" tab and publish the article
- Go to "Web Contents List" and click on the new article
- Liferay properly displays the article using "Sample Layout Display Page"
- Go again to "Product Menu" -> "Web Content", edit the article and set "Display Page Template" to "Default Display Page Template".
- Go to "Web Contents List" and click on the updated article
- Edit the Web Content and check the Display Page Template value
Expected result:
DXP displays the article using the new "Sample Display Page Template"
Display Page Template associated with the Web Content is "Default Display Page Template" with "Sample Display Page Template"
Actual result:
DXP displays the article using the new "Sample Display Page Template"
Display Page Template associated with the Web Content is "Specific Display Page Template" with "Sample Layout Display Page"