You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Scott Nicklous (JIRA)" <ji...@apache.org> on 2014/10/08 14:23:33 UTC

[jira] [Created] (PLUTO-639) TCK: Use of a PortletURLGenerationListener causes ResourceURL#write() method to produce invalid resource URLs

Scott Nicklous created PLUTO-639:
------------------------------------

             Summary: TCK: Use of a PortletURLGenerationListener causes ResourceURL#write() method to produce invalid resource URLs
                 Key: PLUTO-639
                 URL: https://issues.apache.org/jira/browse/PLUTO-639
             Project: Pluto
          Issue Type: Bug
            Reporter: Scott Nicklous
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)