You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Claude Brisson (JIRA)" <ji...@apache.org> on 2019/05/31 19:51:00 UTC

[jira] [Assigned] (VELOCITY-915) Allow invalid reference events for quiet references to improve backward compatibility

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

Claude Brisson reassigned VELOCITY-915:
---------------------------------------

    Assignee: Claude Brisson

> 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.0, 2.1
>            Reporter: Pierre Post
>            Assignee: Claude Brisson
>            Priority: Major
>
> 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-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org