retrying of exception handling
------------------------------

                 Key: WICKET-4135
                 URL: https://issues.apache.org/jira/browse/WICKET-4135
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5.1
            Reporter: Kent Tong
            Priority: Trivial


In the executeExceptionRequestHandler() method of RequestCycle, the code reads:

                                IRequestHandler next = handleException(e);
                                if (handler != null)
                                {
                                        executeExceptionRequestHandler(next, 
retryCount - 1);
                                        return;
                                }

I suspect that it should be:

                                IRequestHandler next = handleException(e);
                                if (next != null) // should check "next" 
instead of "handler"
                                {
                                        executeExceptionRequestHandler(next, 
retryCount - 1);
                                        return;
                                }


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to