You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by ji...@apache.org on 2024/05/24 06:53:16 UTC

(incubator-seata) branch 2.x updated: bugfix: io.seata ActionInterceptorHandler use org.apache.seata BusinessActionContextParameter (#6575)

This is an automated email from the ASF dual-hosted git repository.

jianbin 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 02d3a08076 bugfix: io.seata ActionInterceptorHandler use org.apache.seata BusinessActionContextParameter (#6575)
02d3a08076 is described below

commit 02d3a0807640fc5d380cf10dde1b86c28909ca7f
Author: funkye <ji...@apache.org>
AuthorDate: Fri May 24 14:53:11 2024 +0800

    bugfix: io.seata ActionInterceptorHandler use org.apache.seata BusinessActionContextParameter (#6575)
---
 changes/en-us/2.x.md                                                    | 1 +
 changes/zh-cn/2.x.md                                                    | 2 ++
 .../seata/integration/tx/api/interceptor/ActionInterceptorHandler.java  | 2 +-
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md
index 48aeb38711..0a297bbe07 100644
--- a/changes/en-us/2.x.md
+++ b/changes/en-us/2.x.md
@@ -42,6 +42,7 @@ Add changes here for all PR submitted to the 2.x branch.
 - [[#6554](https://github.com/apache/incubator-seata/pull/6554)] fix unfixed serializer
 - [[#6555](https://github.com/apache/incubator-seata/pull/6555)] businessActionContext is compatible with io seata
 - [[#6553](https://github.com/apache/incubator-seata/pull/6553)] fix saga "cannot matching status"
+- [[#6575](https://github.com/apache/incubator-seata/pull/6575)] fix io.seata ActionInterceptorHandler use org.apache.seata BusinessActionContextParameter
 
 
 ### optimize:
diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md
index a268134266..e54ad9dc23 100644
--- a/changes/zh-cn/2.x.md
+++ b/changes/zh-cn/2.x.md
@@ -42,6 +42,8 @@
 - [[#6554](https://github.com/apache/incubator-seata/pull/6554)] 修复序列化器不固定使用对应配置序列化器的问题
 - [[#6555](https://github.com/apache/incubator-seata/pull/6555)] 修复businessActionContext对io seata包的不兼容
 - [[#6553](https://github.com/apache/incubator-seata/pull/6553)] 修复执行完 'ServiceTask' 后无法应用任何评估器的问题
+- [[#6575](https://github.com/apache/incubator-seata/pull/6575)] 修复io.seata ActionInterceptorHandler误使用了org.apache.seata BusinessActionContextParameter类的问题
+
 
 ### optimize:
 - [[#6031](https://github.com/apache/incubator-seata/pull/6031)] 添加undo_log表的存在性校验
diff --git a/compatible/src/main/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandler.java b/compatible/src/main/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandler.java
index cb6cb6aa58..8d84ae78d5 100644
--- a/compatible/src/main/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandler.java
+++ b/compatible/src/main/java/io/seata/integration/tx/api/interceptor/ActionInterceptorHandler.java
@@ -74,7 +74,7 @@ public class ActionInterceptorHandler extends org.apache.seata.integration.tx.ap
         Annotation[][] parameterAnnotations = method.getParameterAnnotations();
         for (int i = 0; i < parameterAnnotations.length; i++) {
             for (int j = 0; j < parameterAnnotations[i].length; j++) {
-                if (parameterAnnotations[i][j] instanceof org.apache.seata.rm.tcc.api.BusinessActionContextParameter) {
+                if (parameterAnnotations[i][j] instanceof BusinessActionContextParameter) {
                     // get annotation
                     BusinessActionContextParameter annotation = (BusinessActionContextParameter) parameterAnnotations[i][j];
                     if (arguments[i] == null) {


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org