-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.0.5 GA
-
Fix Version/s: --Sprint 12/11, 6.1.0 CE RC1
-
Component/s: ~[Archived] WCM
-
Labels:None
-
Liferay Contributor's Agreement:Accept
To reproduce :
1. create a page and add the calendar portlet and announcements portlet to it
2. switch the calendar to the month view
3. click manage entries, then add entry in the announcements portlet
4. don' t enter anything in the announcement form, press save, then when the validation errors show, press save again
The calendar will now be reset to the summary view
The problem lies in the include method of com.liferay.portlet.StrutsPortlet at the end of the method you find the following snippet
protected void include(
RenderRequest renderRequest, RenderResponse renderResponse)
throws IOException, PortletException {
.....
if (copyRequestParameters)
}
So on render the request parameters are cleared. but infact this is not always the case because the clearRequestParameters method only clears the render parameters when themeDisplay.isLifecycleAction() is true. This will be the case when the p_p_lifecycle=1 parameter will be present in the url which is the case when you execute any action via an actionURL in the portlet