Handle internal calls for non-existing functions. Fixes bug 417.

http://helma.org/bugs/show_bug.cgi?id=417
This commit is contained in:
hns 2005-03-15 12:38:55 +00:00
parent 25fc5f7126
commit 856133d12a

View file

@ -421,7 +421,8 @@ public final class RequestEvaluator implements Runnable {
// see if a valid node was returned // see if a valid node was returned
if (thisObject == null) { if (thisObject == null) {
reqtype = NONE; reqtype = NONE;
abortTransaction();
done = true;
break; break;
} }
} }
@ -438,6 +439,7 @@ public final class RequestEvaluator implements Runnable {
if (!functionexists) { if (!functionexists) {
// function doesn't exist, nothing to do here. // function doesn't exist, nothing to do here.
reqtype = NONE; reqtype = NONE;
abortTransaction();
} else { } else {
try { try {