This is an automated email from the ASF dual-hosted git repository. jimin 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 30fbd91450 bugfix: fix transaction info not display (#7272) 30fbd91450 is described below commit 30fbd914501cb6b4bf587e4745409f93ac89e626 Author: Jingliu <928124...@qq.com> AuthorDate: Fri Apr 4 23:17:03 2025 +0800 bugfix: fix transaction info not display (#7272) --- changes/en-us/2.x.md | 1 + changes/zh-cn/2.x.md | 2 +- .../console-fe/src/pages/TransactionInfo/TransactionInfo.tsx | 12 +++++++----- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index e9e609198b..da700a7e69 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -48,6 +48,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#7188](https://github.com/apache/incubator-seata/pull/7188)] bugfix: Fix missing branchType in BusinessActionContext - [[#7219](https://github.com/apache/incubator-seata/pull/7219)] bugfix: NotSupportExc can't be thrown out in some cases - [[#7241](https://github.com/apache/incubator-seata/pull/7241)] upgrade tomcat-embed-core to 9.0.99 to fix CVE-2025-24813 +- [[#7272](https://github.com/apache/incubator-seata/pull/7272)] fix: fix transaction info not display ### optimize: diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 66777e00a2..659d6e987c 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -47,7 +47,7 @@ - [[#7188](https://github.com/apache/incubator-seata/pull/7188)] 修复 BusinessActionContext 中缺少的 branchType - [[#7219](https://github.com/apache/incubator-seata/pull/7219)] 修复 NotSupportExc 有些情况下不能被正确抛出 - [[#7241](https://github.com/apache/incubator-seata/pull/7241)] 升级 tomcat-embed-core 至 9.0.99 版本以解决 CVE-2025-24813 - +- [[#7272](https://github.com/apache/incubator-seata/pull/7272)] 修复全局事务显示问题 ### optimize: diff --git a/console/src/main/resources/static/console-fe/src/pages/TransactionInfo/TransactionInfo.tsx b/console/src/main/resources/static/console-fe/src/pages/TransactionInfo/TransactionInfo.tsx index b22bcf3266..64a54d1623 100644 --- a/console/src/main/resources/static/console-fe/src/pages/TransactionInfo/TransactionInfo.tsx +++ b/console/src/main/resources/static/console-fe/src/pages/TransactionInfo/TransactionInfo.tsx @@ -387,11 +387,13 @@ class TransactionInfo extends React.Component<GlobalProps, TransactionInfoState> element.cluster = this.state.globalSessionParam.cluster; element.namespace = this.state.globalSessionParam.namespace; element.vgroup = this.state.globalSessionParam.vgroup; - element.branchSessionVOs.forEach((element: any) => { - element.cluster = this.state.globalSessionParam.cluster; - element.namespace = this.state.globalSessionParam.namespace; - element.vgroup = this.state.globalSessionParam.vgroup; - }); + if (element.branchSessionVOs != null) { + element.branchSessionVOs.forEach((element: any) => { + element.cluster = this.state.globalSessionParam.cluster; + element.namespace = this.state.globalSessionParam.namespace; + element.vgroup = this.state.globalSessionParam.vgroup; + }); + } }); if (this.state.branchSessionDialogVisible) { --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org