[ 
https://issues.apache.org/jira/browse/VELOCITY-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henning Schmiedehausen closed VELOCITY-141.
-------------------------------------------


> can't assign a velocity reference to the return value of a method when the 
> value is null
> ----------------------------------------------------------------------------------------
>
>                 Key: VELOCITY-141
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-141
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 1.3-rc1
>         Environment: Operating System: other
> Platform: All
>            Reporter: Robert Thornton
>         Assigned To: Velocity-Dev List
>            Priority: Minor
>             Fix For: 1.4
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to