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 "David Hay (JIRA)" <ji...@apache.org> on 2006/07/20 19:13:13 UTC
[jira] Created: (PLUTO-243) PortletURLParser drops '/' characters
when building render path
PortletURLParser drops '/' characters when building render path
----------------------------------------------------------------
Key: PLUTO-243
URL: http://issues.apache.org/jira/browse/PLUTO-243
Project: Pluto
Issue Type: Bug
Components: portal driver
Affects Versions: 1.1.0-beta1
Reporter: David Hay
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);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (PLUTO-243) PortalURLParser drops '/' characters
when building render path
Posted by "Craig Doremus (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/PLUTO-243?page=all ]
Craig Doremus resolved PLUTO-243.
---------------------------------
Resolution: Fixed
Fixed in SVN version 24830. Thank you, David, for the patch. The testsuite still works as before, but please retest with your custom portlet.
> PortalURLParser drops '/' characters when building render path
> ---------------------------------------------------------------
>
> Key: PLUTO-243
> URL: http://issues.apache.org/jira/browse/PLUTO-243
> Project: Pluto
> Issue Type: Bug
> Components: portal driver
> Affects Versions: 1.1.0-beta1
> Reporter: David Hay
> Assigned To: Craig Doremus
> Fix For: 1.1.0
>
>
> 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);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (PLUTO-243) PortletURLParser drops '/' characters
when building render path
Posted by "Craig Doremus (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/PLUTO-243?page=all ]
Craig Doremus reassigned PLUTO-243:
-----------------------------------
Assignee: Craig Doremus
> PortletURLParser drops '/' characters when building render path
> ----------------------------------------------------------------
>
> Key: PLUTO-243
> URL: http://issues.apache.org/jira/browse/PLUTO-243
> Project: Pluto
> Issue Type: Bug
> Components: portal driver
> Affects Versions: 1.1.0-beta1
> Reporter: David Hay
> Assigned To: Craig Doremus
>
> 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);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (PLUTO-243) PortalURLParser drops '/' characters
when building render path
Posted by "Craig Doremus (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/PLUTO-243?page=all ]
Craig Doremus updated PLUTO-243:
--------------------------------
Summary: PortalURLParser drops '/' characters when building render path (was: PortletURLParser drops '/' characters when building render path)
Fixed title
> PortalURLParser drops '/' characters when building render path
> ---------------------------------------------------------------
>
> Key: PLUTO-243
> URL: http://issues.apache.org/jira/browse/PLUTO-243
> Project: Pluto
> Issue Type: Bug
> Components: portal driver
> Affects Versions: 1.1.0-beta1
> Reporter: David Hay
> Assigned To: Craig Doremus
> Fix For: 1.1.0
>
>
> 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);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (PLUTO-243) PortletURLParser drops '/' characters
when building render path
Posted by "Craig Doremus (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/PLUTO-243?page=all ]
Craig Doremus updated PLUTO-243:
--------------------------------
Fix Version/s: 1.1.0
Made Fix Version 1.1.0
> PortletURLParser drops '/' characters when building render path
> ----------------------------------------------------------------
>
> Key: PLUTO-243
> URL: http://issues.apache.org/jira/browse/PLUTO-243
> Project: Pluto
> Issue Type: Bug
> Components: portal driver
> Affects Versions: 1.1.0-beta1
> Reporter: David Hay
> Assigned To: Craig Doremus
> Fix For: 1.1.0
>
>
> 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);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira