You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Will Glass-Husain (JIRA)" <de...@velocity.apache.org> on 2009/10/18 19:50:31 UTC

[jira] Updated: (VELOCITY-740) InvalidReferenceEventHandler should get indication that a reference is quiet

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

Will Glass-Husain updated VELOCITY-740:
---------------------------------------

    Fix Version/s: 1.7

> InvalidReferenceEventHandler should get indication that a reference is quiet
> ----------------------------------------------------------------------------
>
>                 Key: VELOCITY-740
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-740
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 1.6.2
>            Reporter: Will Glass-Husain
>             Fix For: 1.7
>
>
> Right now the InvalidReferenceEventHandler is called for bad references whether they are quiet or not.  The reference is passed as "$abc" even if the template actually contains "$!abc".
> Typically, you'd want to ignore invalid references.  We should fix this to pass "$!abc" instead of $abc.
> It's not a hard fix -- anyone mind if I change this?  Technically, it's a break in backwards compatibility but a pretty minor one.  It will still get called but with an indication the reference is quiet.

-- 
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