[cvs] expresso commit by mtraum: fixed NPE when trying to do
approval - a
JCorporate Ltd
jcorp at jcorporate.com
Sat Feb 5 03:56:53 UTC 2005
Log Message:
-----------
fixed NPE when trying to do approval - a result of the change to ValidationController which now puts the ValidationEntry in the session persistently itself
Modified Files:
--------------
expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/services/validation:
ApproveRegistrationValidator.java
Revision Data
-------------
Index: ApproveRegistrationValidator.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/services/validation/ApproveRegistrationValidator.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/services/validation/ApproveRegistrationValidator.java -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/services/validation/ApproveRegistrationValidator.java -u -r1.19 -r1.20
--- expresso-web/WEB-INF/src/com/jcorporate/expresso/services/validation/ApproveRegistrationValidator.java
+++ expresso-web/WEB-INF/src/com/jcorporate/expresso/services/validation/ApproveRegistrationValidator.java
@@ -216,14 +216,6 @@
t.addParam("db", dbname);
t.addParam("UserName", loginName);
- //
- //Here we save the validation entry from the request to the session so
- //that after the redirect, the Administrator can decide to postpone his
- //decision and still leave the validation link available.
- //
- request.getSession().setPersistentAttribute(ValidationEntry.SESSION_KEY,
- request.getSession().getAttribute(ValidationEntry.SESSION_KEY));
-
t.redirectTransition(request, response);
return response;
More information about the cvs
mailing list