This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch WW-5631-chaining-require-annotations in repository https://gitbox.apache.org/repos/asf/struts.git
commit bdc9a6581e15271a96d1818f088f0759cd792740 Author: Lukasz Lenart <[email protected]> AuthorDate: Wed May 27 08:15:15 2026 +0200 WW-5631 feat(chaining): default struts.chaining.requireAnnotations=false Co-Authored-By: Claude Opus 4.7 <[email protected]> --- core/src/main/resources/org/apache/struts2/default.properties | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/main/resources/org/apache/struts2/default.properties b/core/src/main/resources/org/apache/struts2/default.properties index fcf9c8543..e034f2835 100644 --- a/core/src/main/resources/org/apache/struts2/default.properties +++ b/core/src/main/resources/org/apache/struts2/default.properties @@ -257,6 +257,11 @@ struts.parameters.requireAnnotations=true ### Useful for transitioning legacy applications, but highly recommended to set to false as soon as possible! struts.parameters.requireAnnotations.transitionMode=false +### Whether ChainingInterceptor enforces @StrutsParameter on the target action when copying properties. +### Opt-in hardening; default false preserves legacy chaining behaviour. Only has effect when +### struts.parameters.requireAnnotations is also enabled. +struts.chaining.requireAnnotations=false + ### Whether to throw a RuntimeException when a property is not found ### in an expression, or when the expression evaluation fails struts.el.throwExceptionOnFailure=false
