-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.10 EE GA1, 6.2.X EE, 7.0.0 M6
-
Fix Version/s: 6.2.4 CE GA5, 6.2.X EE, 7.0.0 M6
-
Component/s: Content Display Widgets > Language widget
-
Labels:
-
Branch Version/s:6.2.x
-
Backported to Branch:Committed
-
Story Points:18
-
Fix Priority:3
-
Git Pull Request:
Steps to reproduce it:
- Set locale.prepend.friendly.url.style to 1 in portal-ext.properties
- Startup the portal
- Create a page called "prepend" and add a web content display there
- In other page, edit the page in javascript section (see edit_page_javascript.png) adding:
</script> <script src="http://localhost:8080/o/frontend-js-web/html/js/liferay/widget.js" type="text/javascript"></script> <script type="text/javascript"> Liferay.Widget({ url: "http://localhost:8080/widget/web/guest/prepend/-/com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_d9jneYLf9QE3"});
(modify the URL with the proper Id por the portlet instance)
- Come back to that page (the widget shows the web content previously created) and add the language portlet
- Choose another language (different than the default).
Results: the widget (iframe) visualizes the whole page instead of the web content.