-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X
-
Fix Version/s: 7.0.0 DXP FP83, 7.0.10.12 DXP SP12, 7.0.X
-
Component/s: Social Bookmarks, Web Content > Web Content Administration
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
Steps to reproduce:
1) Create a minimal Structure;
2) Create a Template for said Structure with the following code:
<div class="text-right"> <@getSocialBookmarks /> </div> <#macro getSocialBookmarks> <@liferay_ui["social-bookmarks"] displayStyle="menu" target="_blank" title=layout.getName(locale) url=viewURL /> </#macro>
3) Add a Web Content based on the newly created Structure;
4) Add a page with an Asset Publisher;
5) Open the newly created page;
6) Click on Web Content's title.
Expected result:
The Web Content should be displayed on the Asset Publisher without any Javascript error in the Browser console.
Actual result:
The Web Content is displayed on Asset Publisher, but the following Javascript error is displayed in the Browser console:
Uncaught TypeError: Cannot read property 'one' of null