* No need to rethrow RedirectException from onRequest():
This was introduced in revision 1.65 to fix bug 65, but obsoleted in revision 1.99 when the other catch statement was removed.
This commit is contained in:
parent
cf875fbf48
commit
abf807e0ad
1 changed files with 5 additions and 9 deletions
|
@ -342,15 +342,11 @@ public final class RequestEvaluator implements Runnable {
|
|||
|
||||
// try calling onRequest() function on object before
|
||||
// calling the actual action
|
||||
try {
|
||||
scriptingEngine.invoke(currentElement,
|
||||
"onRequest",
|
||||
EMPTY_ARGS,
|
||||
ScriptingEngine.ARGS_WRAP_DEFAULT,
|
||||
false);
|
||||
} catch (RedirectException redir) {
|
||||
throw redir;
|
||||
}
|
||||
|
||||
// reset skin recursion detection counter
|
||||
skinDepth = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue