[prev in list] [next in list] [prev in thread] [next in thread] 

List:       velocity-dev
Subject:    [jira] Resolved: (VELOCITY-688) ! preceding a reference in strict
From:       "Byron Foster (JIRA)" <dev () velocity ! apache ! org>
Date:       2009-01-31 4:28:59
Message-ID: 431708805.1233376139808.JavaMail.jira () brutus
[Download RAW message or body]


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

Byron Foster resolved VELOCITY-688.
-----------------------------------

    Resolution: Fixed

> ! preceding a reference in strict mode ignores a null exception
> ---------------------------------------------------------------
> 
> Key: VELOCITY-688
> URL: https://issues.apache.org/jira/browse/VELOCITY-688
> Project: Velocity
> Issue Type: Improvement
> Components: Engine
> Affects Versions: 1.7
> Reporter: Byron Foster
> Fix For: 1.7
> 
> 
> Change strict mode (runtime.references.strict = true) behavior such that when \
> Velocity attempts to render a reference that evaluates to null then throw an \
> exception.  If the reference is preceded by '$!' as in $!foo, then simply render \
> nothing and ignore the null value as it does for non strict mode.

-- 
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: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic