-
Type:
Bug
-
Status: Open
-
Resolution: Unresolved
-
Affects Version/s: 6.2.10 EE GA1, 6.2.X EE
-
Fix Version/s: None
-
Component/s: Portal Services, Portal Services > Templates Engine
-
Labels:
-
Story Points:1
-
Fix Priority:4
-
Git Pull Request:
Reproduction Steps:
- Install a Liferay Tomcat bundle
- Log on as test@liferay.com (default admin user)
- Add an Asset Publisher to the default page
- Click the Asset Publisher's Configuration button, then select:
Display Settings -> Manage Display Templates for Liferay -> Add - Select "Velocity" as language
- Fill out the template name ("TestTemplate1") and it's code should be:
master
<h1> This is the title </h1> <div> #set ($breadcrumbsPortlet = "com_liferay_site_navigation_breadcrumb_web_portlet_BreadcrumbPortlet") $taglibLiferay.runtime($breadcrumbsPortlet, '', $velocityPortletPreferences.toString()) #set ($VOID = $velocityPortletPreferences.reset()) </div>
6.2.x<h1> This is the title </h1> <div> #set ($breadcrumbsPortlet = "73") $taglibLiferay.runtime($breadcrumbsPortlet, '', $velocityPortletPreferences.toString()) #set ($VOID = $velocityPortletPreferences.reset()) </div>
- Save the template, apply it for your Asset Publisher and visit the default page again.
Expected Results:
The embedded breadcrumb portlet should appear after the "title" section
Actual Results:
The breadcrumb portlet appears at the top
Reproduced with the customer's patches
Reproduced with the latest patches for 6.2 EE
Reproduced on 6.2.x (a40ae1b8b09d3e9e05bddfbc29be8a42f81d9672)
Fixed on Master (ba41a7a08fb84a72209d8ce8de0a0932bc7d86d9) by
LPS-53175