[
https://issues.apache.org/jira/browse/WW-5524?focusedWorklogId=979636&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-979636
]
ASF GitHub Bot logged work on WW-5524:
--------------------------------------
Author: ASF GitHub Bot
Created on: 20/Aug/25 04:47
Start Date: 20/Aug/25 04:47
Worklog Time Spent: 10m
Work Description: lukaszlenart opened a new pull request, #1316:
URL: https://github.com/apache/struts/pull/1316
It should delegate back to ObjectFactory#buildBean instead of directly
calling Container#inject, otherwise overrides of buildBean in subclasses of
ObjectFactory e.g. SpringObjectFactory are skipped; meaning that TypeConverters
cannot make use of Spring dependency injection
Closes [WW-5524](https://issues.apache.org/jira/projects/WW-5524)
Issue Time Tracking
-------------------
Worklog Id: (was: 979636)
Time Spent: 1h (was: 50m)
> Dependency injection not working in custom StrutsTypeConverter(s)
> -----------------------------------------------------------------
>
> Key: WW-5524
> URL: https://issues.apache.org/jira/browse/WW-5524
> Project: Struts 2
> Issue Type: Bug
> Components: Core
> Affects Versions: 6.0.0, 6.0.3, 6.1.1, 6.2.0, 6.1.2.1, 6.3.0, 6.4.0,
> 6.6.0, 6.6.1, 6.7.0
> Reporter: John Wilson
> Priority: Major
> Fix For: 6.8.0, 7.1.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Dependency injection via annotations (such as @PersistenceContext,
> @Autowired) are no longer working within custom StrutsTypeConverter(s) since
> version 6.0.0.
> This relates to the changes done in WW-4996
--
This message was sent by Atlassian Jira
(v8.20.10#820010)