Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Failing test cases:
V2URLTests_PortletURLGenerationListener_ApiRenderResurl_filterResourceURL2
V2URLTests_PortletURLGenerationListener_ApiRenderResurl_filterResourceURL3
Setup:
A PortletURLGenerationListener is configured. Within the filterResourceURL(ResourceURL url) method, a parameter is set on the Resource URL.
Results:
When the ResourceURL#toString() method is used to output the URL, it works correctly.
However, when the ResourceURL#write(Writer out) or the ResourceURL#write(Writer out, boolean escapeXML) method is used to output the URL, trying to use the resulting URL string results in the server returning a status code = 500.