Author: mwringe
Date: 2010-03-10 15:59:22 -0500 (Wed, 10 Mar 2010)
New Revision: 2126
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortletActionListener.java
Log:
GTNPORTAL-861: add check if the navSate is null or not before trying to convert it over to
a parameter string. Fixes issue where portlet actions would always fails.
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortletActionListener.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortletActionListener.java 2010-03-10
20:50:36 UTC (rev 2125)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortletActionListener.java 2010-03-10
20:59:22 UTC (rev 2126)
@@ -638,7 +638,10 @@
//set render params
String navState =
event.getRequestContext().getRequestParameter(ExoPortletInvocationContext.NAVIGATIONAL_STATE_PARAM_NAME);
- uiPortlet.setNavigationalState(ParametersStateString.create(navState));
+ if (navState != null)
+ {
+ uiPortlet.setNavigationalState(ParametersStateString.create(navState));
+ }
}
}
Show replies by date