Pluto
  1. Pluto
  2. PLUTO-243

PortalURLParser drops '/' characters when building render path

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0-beta1
    • Fix Version/s: 1.1.0
    • Component/s: portal driver
    • Labels:
      None

      Description

      The PortalURLParser doesn't preserve the '/' characters in non-control path elements. For example, the path info of "/context/servlet/some/random/path/__rp..." ends up setting the renderPath in the PortletURL to "somerandompath" instead of "/some/random/path"

      Line 129, probably just needs to be changed from
      renderPath.append(token);
      to
      renderPath.append('/').append(token);

        Activity

        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12564872 ] jira [ 12586362 ]
        Mark Thomas made changes -
        Workflow jira [ 12376511 ] Default workflow, editable Closed status [ 12564872 ]
        David DeWolf made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Craig Doremus made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Hide
        Craig Doremus added a comment -

        Fixed in SVN version 24830. Thank you, David, for the patch. The testsuite still works as before, but please retest with your custom portlet.

        Show
        Craig Doremus added a comment - Fixed in SVN version 24830. Thank you, David, for the patch. The testsuite still works as before, but please retest with your custom portlet.
        Craig Doremus made changes -
        Summary PortletURLParser drops '/' characters when building render path PortalURLParser drops '/' characters when building render path
        Hide
        Craig Doremus added a comment -

        Fixed title

        Show
        Craig Doremus added a comment - Fixed title
        Craig Doremus made changes -
        Fix Version/s 1.1.0 [ 12310687 ]
        Hide
        Craig Doremus added a comment -

        Made Fix Version 1.1.0

        Show
        Craig Doremus added a comment - Made Fix Version 1.1.0
        Craig Doremus made changes -
        Field Original Value New Value
        Assignee Craig Doremus [ cdoremus ]
        David Hay created issue -

          People

          • Assignee:
            Craig Doremus
            Reporter:
            David Hay
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development