Re: (critical) issue with deep macro invocations

"Hannes Wallnoefer" <[email protected]>
Newsgroups gmane.comp.java.helma.general
Message-ID <[email protected]>
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 <[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
>
> _______________________________________________
> Helma-user mailing list
> [email protected]
> http://helma.org/mailman/listinfo/helma-user
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.