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 fe798b638e86a235c58eebafa2d1004acef9af32 Author: Lukasz Lenart <[email protected]> AuthorDate: Wed May 27 08:26:17 2026 +0200 WW-5631 docs(chaining): document struts.chaining.requireAnnotations Co-Authored-By: Claude Opus 4.7 <[email protected]> --- .../main/java/org/apache/struts2/interceptor/ChainingInterceptor.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/main/java/org/apache/struts2/interceptor/ChainingInterceptor.java b/core/src/main/java/org/apache/struts2/interceptor/ChainingInterceptor.java index a10e8aaa3..b294b47f6 100644 --- a/core/src/main/java/org/apache/struts2/interceptor/ChainingInterceptor.java +++ b/core/src/main/java/org/apache/struts2/interceptor/ChainingInterceptor.java @@ -75,6 +75,9 @@ import java.util.Set; * <li>struts.chaining.copyErrors - set to true to copy Action Errors</li> * <li>struts.chaining.copyFieldErrors - set to true to copy Field Errors</li> * <li>struts.chaining.copyMessages - set to true to copy Action Messages</li> + * <li>struts.chaining.requireAnnotations - set to true to only copy properties whose target + * Action member is annotated with {@code @StrutsParameter} (opt-in, default false). When the + * target cannot be introspected, no properties are copied (fail closed).</li> * </ul> * * <p>
