DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36134>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36134 Summary: processLocale creates session no matter if it doesn't exist Product: Struts Version: Nightly Build Platform: All OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Struts Flow AssignedTo: dev@struts.apache.org ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Index: RequestProcessor.java =================================================================== RCS file: /home/cvspublic/jakarta-struts/src/share/org/apache/struts/action/RequestProcessor.java,v retrieving revision 1.45 diff -u -r1.45 RequestProcessor.java --- RequestProcessor.java 25 Apr 2004 02:29:41 -0000 1.45 +++ RequestProcessor.java 10 Aug 2005 17:49:41 -0000 @@ -599,7 +599,9 @@ } // Has a Locale already been selected? - HttpSession session = request.getSession(); + HttpSession session = request.getSession(false); + if (session == null) + return; if (session.getAttribute(Globals.LOCALE_KEY) != null) { return; } -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]