Issue Details (XML | Word | Printable)

Key: LEP-7632
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Jorge Ferrer
Reporter: Bryan Cheung
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Old Liferay Portal (Use Liferay Portal Standard Edition)

Asset Publisher does not correctly handle special characters such as - & ( ) é etc.

Created: 25/Sep/08 09:57 AM   Updated: 29/Sep/08 09:30 AM
Component/s: None
Affects Version/s: 5.1.1
Fix Version/s: 5.1.2

Time Tracking:
Not Specified

Environment: Liferay 5.1.0 and up


 Description  « Hide
Asset Publisher portlet has ability to replace variables with tag values with the use of [$ name of tag category $] but the extra functionality causes special characters to be incorrectly encoded in the portlet title.

 All   Comments   Work Log   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
Bryan Cheung added a comment - 25/Sep/08 10:00 AM - Visible to
Change line 42 of /html/portlet/tagged_content/view.jsp from

String portletTitle = portletDisplay.getTitle();

to

String portletTitle = HtmlUtil.unescape(portletDisplay.getTitle());

Also add

<%@ page import="com.liferay.portal.kernel.util.HtmlUtil" %>

to init.jsp

I wasn't sure whether this applies anymore with the new tagging system so I'm writing the fix instead of checking it in.

Jorge Ferrer added a comment - 29/Sep/08 07:30 AM - Visible to
Committed to trunk. Should be backported to 5.1.x

Thanks Bryan!