DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31583>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31583

RenderTool throws NPE if VTL is null

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |
            Version|1.1                         |1.2



------- Additional Comments From [EMAIL PROTECTED]  2004-11-11 06:31 -------
The fix broke some of my tests.  :(

I think a blank VTL should render a blank, and not the original VTL.

If I had the template:

$render.eval($ctx, $hey)
#set($hey = 'ho!')
$render.eval($ctx, $hey)
#set($hey = '')
$render.eval($ctx, $hey)

I would expect:

$render.eval($ctx, $hey)
ho!
 (nothing rendered)

but I get:

$render.eval($ctx, $hey)
ho!
$render.eval($ctx, $hey)

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

Reply via email to