This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/struts.git
commit 3355548b9384cf57efbeb56a9a3f79a62ffe6f70 Merge: fd60b2073 260551ceb Author: Lukasz Lenart <[email protected]> AuthorDate: Mon Oct 12 13:01:56 2026 +0200 WW-5766 feat(config): map struts.scopedConstantProvider in ConstantConfig (#2006) Java-based configuration can now select a custom ScopedConstantProvider through ConstantConfig instead of overriding getAllAsStringsMap(). The selection tests load providers in the Dispatcher's order rather than through StrutsDefaultConfigurationProvider: that bootstrap binds ScopedConstantProvider under the default name, so alias() skips the constant and the test could never observe the mapping. Co-authored-by: Claude Opus 5.5 <[email protected]> .../struts2/config/entities/ConstantConfig.java | 15 +++++ .../StrutsJavaConfigurationProviderTest.java | 67 ++++++++++++++++++++++ .../config/entities/ConstantConfigTest.java | 14 +++++ 3 files changed, 96 insertions(+)
