(critical) issue with deep macro invocations
Michael Platzer <[email protected]>
| Newsgroups | gmane.comp.java.helma.general |
|---|---|
| Message-ID | <[email protected]> |
hi,
i just found out, that the following code
function main_action() {
var skin = createSkin("<% root.xyz.test %>");
this.renderSkin(skin);
}
HopObject.prototype.test_macro = function(param) {
res.write(this.href());
}
surprisingly returns the URL of the Root-Object (instead of throwing an
error). That is, the fact that 'xyz' does not exist is simply ignored
and the macro 'test' is being applied on the root-object.
i will go ahead and file a bug report (or is that behaviour actually
intented?).
michi