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 dd...@apache.org on 2004/10/14 20:13:28 UTC
svn commit: rev 54793 - portals/pluto/trunk/container/src/java/org/apache/pluto/invoker/impl
Author: ddewolf
Date: Thu Oct 14 11:13:28 2004
New Revision: 54793
Modified:
portals/pluto/trunk/container/src/java/org/apache/pluto/invoker/impl/PortletInvokerImpl.java
Log:
Throwing PortletException when a dispatcher for the portlet could not be retrieved. (Typically caused by misconfiguration and/or not being able to find the portlet-app's context). Thanks to Brad Johnson for this bug fix!
Modified: portals/pluto/trunk/container/src/java/org/apache/pluto/invoker/impl/PortletInvokerImpl.java
==============================================================================
--- portals/pluto/trunk/container/src/java/org/apache/pluto/invoker/impl/PortletInvokerImpl.java (original)
+++ portals/pluto/trunk/container/src/java/org/apache/pluto/invoker/impl/PortletInvokerImpl.java Thu Oct 14 11:13:28 2004
@@ -163,6 +163,7 @@
else
{
getLog().error("PortletInvokerImpl.action() - Unable to find RequestDispatcher.");
+ throw new PortletException("Unable to find dispatcher for context: "+servletContext.getServletContextName());
}
}
// --------------------------------------------------------------------------------------------