[Helma-user] (critical) issue with deep macro invocations
Michael Platzer
michael.platzer at knallgrau.at
Sat Apr 21 11:08:11 CEST 2007
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
More information about the Helma-user
mailing list