You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2016/07/27 06:09:02 UTC

struts git commit: Change to the documentation

Repository: struts
Updated Branches:
  refs/heads/master abf7bfa34 -> 164356809


Change to the documentation

To make it clear that the behavior is not limited to validation errors, but also extendend to conversion errors and (most important) to action errors, that will be stored and retrieved by the Message Store Interceptor during a redirection, and that will generate an undesired result.

Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/16435680
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/16435680
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/16435680

Branch: refs/heads/master
Commit: 1643568095edd8e0f9a3147c0edf396cd6906b44
Parents: abf7bfa
Author: Andrea Ligios <an...@gmail.com>
Authored: Mon Jul 25 17:18:04 2016 +0200
Committer: GitHub <no...@github.com>
Committed: Mon Jul 25 17:18:04 2016 +0200

----------------------------------------------------------------------
 .../xwork2/interceptor/DefaultWorkflowInterceptor.java            | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/16435680/core/src/main/java/com/opensymphony/xwork2/interceptor/DefaultWorkflowInterceptor.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/com/opensymphony/xwork2/interceptor/DefaultWorkflowInterceptor.java b/core/src/main/java/com/opensymphony/xwork2/interceptor/DefaultWorkflowInterceptor.java
index cd162a7..271fa6d 100644
--- a/core/src/main/java/com/opensymphony/xwork2/interceptor/DefaultWorkflowInterceptor.java
+++ b/core/src/main/java/com/opensymphony/xwork2/interceptor/DefaultWorkflowInterceptor.java
@@ -27,7 +27,8 @@ import java.lang.reflect.Method;
 /**
  * <!-- START SNIPPET: description -->
  * <p>
- * An interceptor that makes sure there are not validation errors before allowing the interceptor chain to continue.
+ * An interceptor that makes sure there are not validation, conversion or action errors before allowing the interceptor chain to continue. 
+ * If a single FieldError or ActionError (including the ones replicated by the Message Store Interceptor in a redirection) is found, the INPUT result will be triggered.
  * <b>This interceptor does not perform any validation</b>.
  * </p>
  *