Handle internal calls for non-existing functions. Fixes bug 417.
http://helma.org/bugs/show_bug.cgi?id=417
This commit is contained in:
parent
25fc5f7126
commit
856133d12a
1 changed files with 3 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue