DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17060>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17060 can't assign a velocity reference to the return value of a method when the value is null Summary: can't assign a velocity reference to the return value of a method when the value is null Product: Velocity Version: 1.3-rc1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Source AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I understand this is not a bug, and that it is a documented feature, but I fail to see the logic behind preventing the template designer from assigning a reference to the return value of a method when that method returns null. It can easily lead to unexpected results unless great care is taken, and it prevents the use of temporary references within foreach loops. This behavior is contrary to that of all other templating languages I've seen and there is not even an adequate explanation for it. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
