You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by yi...@apache.org on 2024/05/16 12:52:49 UTC
(incubator-seata) branch 2.x updated: bugfix: fix saga "cannot matching status" (#6553)
This is an automated email from the ASF dual-hosted git repository.
yixia pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/incubator-seata.git
The following commit(s) were added to refs/heads/2.x by this push:
new 5c209a3485 bugfix: fix saga "cannot matching status" (#6553)
5c209a3485 is described below
commit 5c209a3485df5328446323bb6f3401827e86622b
Author: Xiangkun Yin <pt...@apache.org>
AuthorDate: Thu May 16 20:52:45 2024 +0800
bugfix: fix saga "cannot matching status" (#6553)
---
.../saga/engine/pcext/interceptors/ServiceTaskHandlerInterceptor.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/saga/seata-saga-engine/src/main/java/org/apache/seata/saga/engine/pcext/interceptors/ServiceTaskHandlerInterceptor.java b/saga/seata-saga-engine/src/main/java/org/apache/seata/saga/engine/pcext/interceptors/ServiceTaskHandlerInterceptor.java
index 03a8c238a3..1cee6d2ccf 100644
--- a/saga/seata-saga-engine/src/main/java/org/apache/seata/saga/engine/pcext/interceptors/ServiceTaskHandlerInterceptor.java
+++ b/saga/seata-saga-engine/src/main/java/org/apache/seata/saga/engine/pcext/interceptors/ServiceTaskHandlerInterceptor.java
@@ -337,9 +337,9 @@ public class ServiceTaskHandlerInterceptor implements StateHandlerInterceptor {
Object elContext;
Class<? extends Expression> expressionClass = evaluator.getClass();
- if (expressionClass.isAssignableFrom(ExceptionMatchExpression.class)) {
+ if (ExceptionMatchExpression.class.isAssignableFrom(expressionClass)) {
elContext = context.getVariable(DomainConstants.VAR_NAME_CURRENT_EXCEPTION);
- } else if (expressionClass.isAssignableFrom(ELExpression.class)) {
+ } else if (ELExpression.class.isAssignableFrom(expressionClass)) {
elContext = context.getVariable(DomainConstants.VAR_NAME_OUTPUT_PARAMS);
} else {
elContext = context.getVariables();
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org