Re: (critical) issue with deep macro invocations
Michael Platzer <[email protected]>
| Newsgroups | gmane.comp.java.helma.general |
|---|---|
| Message-ID | <[email protected]> |
Hannes Wallnoefer schrieb: > 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. > yes, you are right. this is fixed in CVS. thanks, michi > 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 >> >> > _______________________________________________ > Helma-user mailing list > [email protected] > http://helma.org/mailman/listinfo/helma-user > > -- DI Michael Platzer technical director -------------------------------------- knallgrau new media solutions gmbh pezzlgasse 7|1, A-1170 wien phone: +43 - 1 - 522 76 37 fax: +43 - 1 - 522 76 38 http://www.knallgrau.at http://planet.knallgrau.at _______________________________________________ Helma-user mailing list [email protected] http://helma.org/mailman/listinfo/helma-user