struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Mashchenko (JIRA)" <>
Subject [jira] [Commented] (WW-4849) ObjectFactory constructor signature change breaks extensions
Date Wed, 06 Sep 2017 16:38:00 GMT


Aleksandr Mashchenko commented on WW-4849:

_to ensure that a container can only be injected once_ That is not the issue, take a look
at Required objects should be injected in the
constructor. The spring object factory does exactly that.

The constructor injection along with the setter injection didn't play nice for me when I tried
that. Have you tested it with some non default object factory e.g. spring?

[~lukaszlenart] Could you add info about changes in object factory constructor to version

> ObjectFactory constructor signature change breaks extensions
> ------------------------------------------------------------
>                 Key: WW-4849
>                 URL:
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.5.13
>            Reporter: Mitth'raw'nuruodo
>             Fix For: 2.5.14
> Commit {{6f91d0776a545c911ca4f2875ed9976614711ef9}} changed the signature of the {{ObjectFactory}}
constructor, breaking all classes that extend {{ObjectFactory}} (as per
This affects eg the [{{guice-servlet}} Struts plugin|].
> This was not listed on the [2.5.13 version notes|]
as a breaking change, and breaking changes should preferably be avoided in critical security

This message was sent by Atlassian JIRA

View raw message