You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/05/20 14:00:00 UTC
[jira] [Work logged] (WW-5301) Impossible to select alternate default VelocityManager bean
[ https://issues.apache.org/jira/browse/WW-5301?focusedWorklogId=861866&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-861866 ]
ASF GitHub Bot logged work on WW-5301:
--------------------------------------
Author: ASF GitHub Bot
Created on: 20/May/23 13:59
Start Date: 20/May/23 13:59
Worklog Time Spent: 10m
Work Description: kusalk opened a new pull request, #687:
URL: https://github.com/apache/struts/pull/687
WW-5301
--
Issue Time Tracking
-------------------
Worklog Id: (was: 861866)
Remaining Estimate: 0h
Time Spent: 10m
> Impossible to select alternate default VelocityManager bean
> -----------------------------------------------------------
>
> Key: WW-5301
> URL: https://issues.apache.org/jira/browse/WW-5301
> Project: Struts 2
> Issue Type: Bug
> Components: Core, Plugin - Velocity
> Affects Versions: 6.1.1
> Reporter: Kusal Kithul-Godage
> Priority: Major
> Fix For: 6.2.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> I'm possibly missing something here but as far as I can tell struts-plugin.xml is always loaded before struts.xml.
> This means the default VelocityManager bean (#registerBeanSelection) will always be selected before the default bean can be configured via {{struts.velocity.manager.classname}}
> Changing the load order here probably isn't a good solution either.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)