Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-639

TCK: Use of a PortletURLGenerationListener causes ResourceURL#write() method to produce invalid resource URLs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            msnicklous Scott Nicklous
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: