Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.5.3
-
Fix Version/s: 1.7
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Portlets + IceFaces
-
Workaround Exists:Yes
-
Workaround Description:
Description
In com.icesoft.faces.webapp.xmlhttp.FileUploadServlet, the method getState is like this:
private PersistentFacesState getState(HttpSession session,
HttpServletRequest request,
PersistentFacesState state) {
Object current_view_number = session.getAttribute(
PersistentFacesServlet.CURRENT_VIEW_NUMBER);
if (current_view_number != null) {
PersistentFacesState.setLocalInstance(new SessionMap(session),
String.valueOf(
current_view_number));
}
state = PersistentFacesState.getInstance();
return state;
}
private PersistentFacesState getState(HttpSession session,
HttpServletRequest request,
PersistentFacesState state) {
Object current_view_number = session.getAttribute(
PersistentFacesServlet.CURRENT_VIEW_NUMBER);
if (current_view_number != null) {
PersistentFacesState.setLocalInstance(new SessionMap(session),
String.valueOf(
current_view_number));
}
state = PersistentFacesState.getInstance();
return state;
}
This issue is quite old and we did a bunch of work on file upload for 1.6 so it needs to be reviewed to determine if it's still relevant.