[
https://issues.apache.org/jira/browse/WW-5301?focusedWorklogId=862075&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-862075
]
ASF GitHub Bot logged work on WW-5301:
--------------------------------------
Author: ASF GitHub Bot
Created on: 23/May/23 05:21
Start Date: 23/May/23 05:21
Worklog Time Spent: 10m
Work Description: kusalk commented on code in PR #687:
URL: https://github.com/apache/struts/pull/687#discussion_r1201533476
##########
core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java:
##########
@@ -554,6 +566,7 @@ public void init() {
init_CustomConfigurationProviders(); // [5]
init_FilterInitParameters(); // [6]
init_AliasStandardObjects(); // [7]
+ init_DeferredXmlConfigurations();
Review Comment:
I will create a struts-site PR adding a note about `struts-deferred.xml` to:
- https://struts.apache.org/plugins/plugins-architecture
- https://struts.apache.org/core-developers/struts-xml
Issue Time Tracking
-------------------
Worklog Id: (was: 862075)
Time Spent: 0.5h (was: 20m)
> 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: 0.5h
> 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)