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

"Scott Nicklous (JIRA)" <[email protected]>
Newsgroups gmane.comp.jakarta.pluto.devel
Message-ID <[email protected]>
     [ https://issues.apache.org/jira/browse/PLUTO-639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Nicklous resolved PLUTO-639.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

fixed in code

> 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
>             Fix For: 3.0.0
>
>
> 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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.