Web Content: Link to a document with a space in the document name fails

Affects versions

7.0 Fix Pack Version

None

7.1 Fix Pack Version

None

7.2 Fix Pack Version

None

7.3 Fix Pack Version

None

7.4 Fix Pack Version

None

CVE IDs

CVSS Base Score

CVSS Vector String

Labels

Description

With Web Content, if there is a link to a document with a space in the document the link will cause the system to crash and generate a No DLFileEntry exception.

API CHANGES:

Class: com.liferay.portlet.documentlibrary.util.DLUtil

Method: getPreviewURL(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay, String queryString)
Status: Deprecated
New method: getPreviewURL(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay, String queryString, boolean appendVersion, boolean absoluteURL)

Method: getPreviewURL(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay, String queryString, boolean appendToken)
Status: Deprecated
New method: getPreviewURL(FileEntry fileEntry, FileVersion fileVersion, ThemeDisplay themeDisplay, String queryString, boolean appendVersion, boolean absoluteURL)

Activity

Show:

Samuel KongMarch 23, 2012 at 1:10 AM

For 6.0.x, see

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Priority

Zendesk Support

Created February 15, 2012 at 3:28 PM
Updated December 9, 2016 at 2:19 PM
Resolved February 15, 2012 at 3:28 PM