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 "Eric Dalquist (JIRA)" <ji...@apache.org> on 2010/05/14 03:21:42 UTC

[jira] Resolved: (PLUTO-593) Will not load portlets deployed in root servlet context

     [ https://issues.apache.org/jira/browse/PLUTO-593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Dalquist resolved PLUTO-593.
---------------------------------

    Resolution: Fixed

Fixed by not removing / from the context path when generating the application name.

> Will not load portlets deployed in root servlet context
> -------------------------------------------------------
>
>                 Key: PLUTO-593
>                 URL: https://issues.apache.org/jira/browse/PLUTO-593
>             Project: Pluto
>          Issue Type: Bug
>          Components: portal driver
>    Affects Versions: 2.0.1
>            Reporter: Eric Dalquist
>            Assignee: Eric Dalquist
>             Fix For: 2.1.0
>
>
> Pluto does contextPath.substring(1) on the value returned by ServletContext.getContextPath() Per the Servlet spec that method will return an empty string if the servlet is deployed in the root context, this will result in an IndexOutOfBounds exception.
> The proposed fix is to not remove the leading /.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.