Affects Version/s: 7.0.X, 7.1.X, 7.2.X, Master
Component/s: Content Display Widgets > Asset Publisher widget
Steps to Reproduce
- Create and publish a Web Content with the title "Press Release - New Product";
- Add an Asset Publisher to a page and define it as the default Asset Publisher for that page:
- Got to Asset Publisher's Configuration > Display Settings > Set and Enable > Set as the Default Asset Publisher for This Page;
- If you´re using Liferay 7.0 select Asset Publisher's Configuration > Display Settings > Asset Link Behavior > view in context
- Edit the Web Content:
- Go to Web Content's Properties > Display Page Template and set "Specific Display Page Template", then select the page on which the Asset Publisher is;
- View the page with the Asset Publisher and click on the Web Content's title (if you're using Liferay 7.1.x and 7.0.x, you have to access the full content by entering the Web Content's friendly URL in order to see the behavior: http://localhost:8080/web/guest/-/press-release-new-product);
- Check your browser's tab title.
The HEAD tag's title of the page is just the name of the Web Content appended by the Site's name like so: "Press Release - New Product - Liferay".
The Web Content's title is duplicated and appended by the Site's name in the HEAD tag's title: "Press Release - New Product - Press Release - New Product - Liferay"