-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X, 7.1.X, Master
-
Fix Version/s: 7.0.0 DXP FP70, 7.0.X, 7.1.10 DXP FP6, 7.1.10.2 SP2, 7.1.3 CE GA4, 7.1.X, Master
-
Component/s: Core Infrastructure, Themes Infrastructure > Layout Templates
-
Branch Version/s:7.1.x, 7.0.x
-
Backported to Branch:Committed
-
Story Points:1
-
Fix Priority:3
-
Git Pull Request:
Steps to Reproduce
- Place this file
in your /osgi/configs before starting Liferay (only necessary on master and 7.1.x);
- Startup Liferay DXP;
- Deploy the attached Layout Template according to respective DXP you're testing (you can use the same .war file for both master and 7.1.x);
- Go to Content > Web Content and add two different Basic Web Contents ("Content 1" and "Content 2", for example);
- Now go to Site's Page administrator and add a new Public Page using the new custom Layout Template;
- Go to that page and add a Web Content Display Portlet from the right sidebar;
- Choose one from the two Web Contents previously created to be shown on the Web Content Display;
- Now, inside the Asset Publisher Portlet that was already at the page, click on the other Web Content that you've created (different from Web Content Display's).
Expected Behavior
The Web Content Display shows the Web Content you previously chose in this Portlet's configuration.
Actual Behavior
The Web Content Display shows the Web Content you clicked on the Asset Publisher Portlet regardless of the first Portlet's configuration.