Author: theute
Date: 2011-09-09 10:20:28 -0400 (Fri, 09 Sep 2011)
New Revision: 7347
Modified:
portal/trunk/webui/framework/src/main/java/org/exoplatform/webui/application/WebuiRequestContext.java
Log:
GTNPORTAL-2088: Infinite loop when edit banner portlet with invalid value
Modified:
portal/trunk/webui/framework/src/main/java/org/exoplatform/webui/application/WebuiRequestContext.java
===================================================================
---
portal/trunk/webui/framework/src/main/java/org/exoplatform/webui/application/WebuiRequestContext.java 2011-09-09
14:17:54 UTC (rev 7346)
+++
portal/trunk/webui/framework/src/main/java/org/exoplatform/webui/application/WebuiRequestContext.java 2011-09-09
14:20:28 UTC (rev 7347)
@@ -178,13 +178,14 @@
public ResourceResolver getResourceResolver(String uri)
{
Application app = getApplication();
+ RequestContext pcontext = this;
while (app != null)
{
ApplicationResourceResolver appResolver = app.getResourceResolver();
ResourceResolver resolver = appResolver.getResourceResolver(uri);
if (resolver != null)
return resolver;
- RequestContext pcontext = getParentAppRequestContext();
+ pcontext = pcontext.getParentAppRequestContext();
if (pcontext != null)
app = pcontext.getApplication();
else
Show replies by date