[Helma-user] (critical) issue with deep macro invocations

Hannes Wallnoefer hannes at helma.at
Sat Apr 21 11:37:50 CEST 2007


Is this with 1.6 rc1 or the latest CVS snapshot? I know this was a bug
in 1.6 rc1, but it should be fixed in CVS.

hannes

2007/4/21, Michael Platzer <michael.platzer at knallgrau.at>:
> 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
>
> _______________________________________________
> Helma-user mailing list
> Helma-user at helma.org
> http://helma.org/mailman/listinfo/helma-user
>


More information about the Helma-user mailing list