Author: sichen
Date: Thu Mar 1 10:32:40 2007
New Revision: 513430
URL:
http://svn.apache.org/viewvc?view=rev&rev=513430Log:
removing RequestHandler from request attributes before a request-redirect. OFBIZ-750
Modified:
ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java?view=diff&rev=513430&r1=513429&r2=513430==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java Thu Mar 1 10:32:40 2007
@@ -508,6 +508,7 @@
}
}
if (reqAttrMap.size() > 0) {
+ reqAttrMap.remove("_REQUEST_HANDLER_"); // RequestHandler is not serializable and must be removed first. See
http://issues.apache.org/jira/browse/OFBIZ-750 byte[] reqAttrMapBytes = UtilObject.getBytes(reqAttrMap);
if (reqAttrMapBytes != null) {
req.getSession().setAttribute("_REQ_ATTR_MAP_", StringUtil.toHexString(reqAttrMapBytes));