[jira] [Resolved] (VELTOOLS-186) Review shared VelocityView initialization error handling
"Claude Brisson (Jira)" <[email protected]> Thu, 18 Jun 2026 08:51:00 +0000 (UTC)
| Newsgroups | gmane.comp.jakarta.velocity.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/VELTOOLS-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claude Brisson resolved VELTOOLS-186.
-------------------------------------
Fix Version/s: 3.2
4.0
Resolution: Fixed
> 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
> Fix For: 3.2, 4.0
>
>
> 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.20.10#820010)