Pierre Post created VELOCITY-915:
------------------------------------

             Summary: Allow invalid reference events for quiet references to 
improve backward compatibility
                 Key: VELOCITY-915
                 URL: https://issues.apache.org/jira/browse/VELOCITY-915
             Project: Velocity
          Issue Type: Improvement
          Components: Engine
    Affects Versions: 2.1, 2.0
            Reporter: Pierre Post


Apache Velocity 2.0 changed the mechanism of sending invalid reference events. 
As of version 2.0, no events are generated in case of quiet references. As it 
is understandable to produce less irrelevant events for most use cases, there 
still exist some other use cases where these events must be received for quiet 
references. Besides, this was absolutely legitimate in versions 1.x and we now 
have projects that rely on that behavior but cannot be migrated to 2.x without 
further development effort.

If there is no other way to reproduce the old 1.x behavior, please add an 
initialization parameter that enables the sending of invalid reference events 
for quiet references as this would greatly improve backwards compatibility with 
1.x versions, e.g.
{noformat}
# Send invalid reference events for quiet references (false by default)
eventhandler.invalidreferences.include.quiet_references = true{noformat}
There already exist other parameters only to ensure backwards compatibility.

Thank you very much.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org

Reply via email to