* 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
|
// try calling onRequest() function on object before
|
||||||
// calling the actual action
|
// calling the actual action
|
||||||
try {
|
|
||||||
scriptingEngine.invoke(currentElement,
|
scriptingEngine.invoke(currentElement,
|
||||||
"onRequest",
|
"onRequest",
|
||||||
EMPTY_ARGS,
|
EMPTY_ARGS,
|
||||||
ScriptingEngine.ARGS_WRAP_DEFAULT,
|
ScriptingEngine.ARGS_WRAP_DEFAULT,
|
||||||
false);
|
false);
|
||||||
} catch (RedirectException redir) {
|
|
||||||
throw redir;
|
|
||||||
}
|
|
||||||
|
|
||||||
// reset skin recursion detection counter
|
// reset skin recursion detection counter
|
||||||
skinDepth = 0;
|
skinDepth = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue