You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by at...@apache.org on 2010/05/26 22:41:21 UTC

svn commit: r948579 - /portals/pluto/trunk/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/EventProviderImpl.java

Author: ate
Date: Wed May 26 20:41:21 2010
New Revision: 948579

URL: http://svn.apache.org/viewvc?rev=948579&view=rev
Log:
Fix for PLUTO-593: don't remove leading '/' anymore from context path to determine portlet application name.

Modified:
    portals/pluto/trunk/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/EventProviderImpl.java

Modified: portals/pluto/trunk/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/EventProviderImpl.java
URL: http://svn.apache.org/viewvc/portals/pluto/trunk/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/EventProviderImpl.java?rev=948579&r1=948578&r2=948579&view=diff
==============================================================================
--- portals/pluto/trunk/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/EventProviderImpl.java (original)
+++ portals/pluto/trunk/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/EventProviderImpl.java Wed May 26 20:41:21 2010
@@ -111,10 +111,6 @@ public class EventProviderImpl implement
     {
         String applicationId = PortletWindowConfig.parseContextPath(portletWindow.getId().getStringId());
         String applicationName = applicationId;
-        if (applicationId.length() > 0)
-        {
-            applicationName = applicationId.substring(1);
-        }
         String portletName = PortletWindowConfig.parsePortletName(portletWindow.getId().getStringId());
         List<? extends EventDefinitionReference> events = null;
         try