You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Michael Osipov (Jira)" <de...@velocity.apache.org> on 2020/03/08 14:54:00 UTC
[jira] [Commented] (VELTOOLS-186) Review shared VelocityView
initialization error handling
[ https://issues.apache.org/jira/browse/VELTOOLS-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17054426#comment-17054426 ]
Michael Osipov commented on VELTOOLS-186:
-----------------------------------------
Is that a singleton or a new instance everytime?
> Review shared VelocityView initialization error handling
> --------------------------------------------------------
>
> Key: VELTOOLS-186
> URL: https://issues.apache.org/jira/browse/VELTOOLS-186
> Project: Velocity Tools
> Issue Type: Bug
> Components: VelocityView
> Affects Versions: 3.0
> Reporter: Claude Brisson
> Assignee: Claude Brisson
> Priority: Minor
>
> When VelocityView instanciation fails (aka throws an unrecoverable exception), it is attempted again as many times as there are servlets or filters relying on it, even when the instance is supposed to be shared.
> The proper behavior would be to somehow mark the shared instance attribute as being invalid (but not null).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org