From 0b6ee308eb0d7f12084678f32cdddda91ff29208 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 21 Oct 2020 14:40:42 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):?= =?UTF-8?q?=20=E6=A8=A1=E5=9D=97=E6=A0=91=E6=9C=80=E5=A4=A7=E6=B7=B1?= =?UTF-8?q?=E5=BA=A68=E5=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/metersphere/track/service/TestCaseNodeService.java | 2 +- backend/src/main/java/io/metersphere/xpack | 2 +- backend/src/main/resources/i18n/messages_en_US.properties | 2 +- backend/src/main/resources/i18n/messages_zh_CN.properties | 2 +- backend/src/main/resources/i18n/messages_zh_TW.properties | 2 +- frontend/src/business/components/xpack | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/backend/src/main/java/io/metersphere/track/service/TestCaseNodeService.java b/backend/src/main/java/io/metersphere/track/service/TestCaseNodeService.java index f768dd2567..4c66a29c5f 100644 --- a/backend/src/main/java/io/metersphere/track/service/TestCaseNodeService.java +++ b/backend/src/main/java/io/metersphere/track/service/TestCaseNodeService.java @@ -542,7 +542,7 @@ public class TestCaseNodeService { rootPath = rootPath + rootNode.getName(); - if (level > 5) { + if (level > 8) { MSException.throwException(Translator.get("node_deep_limit")); } diff --git a/backend/src/main/java/io/metersphere/xpack b/backend/src/main/java/io/metersphere/xpack index ee74568be0..cf6b065263 160000 --- a/backend/src/main/java/io/metersphere/xpack +++ b/backend/src/main/java/io/metersphere/xpack @@ -1 +1 @@ -Subproject commit ee74568be0beba46da19616f5832e83f9164c688 +Subproject commit cf6b06526324326a563d933e07118fac014a63b4 diff --git a/backend/src/main/resources/i18n/messages_en_US.properties b/backend/src/main/resources/i18n/messages_en_US.properties index 03340f13b2..ce776e5a0e 100644 --- a/backend/src/main/resources/i18n/messages_en_US.properties +++ b/backend/src/main/resources/i18n/messages_en_US.properties @@ -83,7 +83,7 @@ test_case_already_exists=The test case in this project is exists parse_data_error=Parse data error missing_header_information=Missing header information test_case_exist=A test case already exists under this project: -node_deep_limit=The node depth does not exceed 5 layers! +node_deep_limit=The node depth does not exceed 8 layers! before_delete_plan=There is an associated test case under this plan, please unlink it first! incorrect_format=\tincorrect format test_case_type_validate=\tmust be functional, performance, api diff --git a/backend/src/main/resources/i18n/messages_zh_CN.properties b/backend/src/main/resources/i18n/messages_zh_CN.properties index efc123244f..03f0f71158 100644 --- a/backend/src/main/resources/i18n/messages_zh_CN.properties +++ b/backend/src/main/resources/i18n/messages_zh_CN.properties @@ -83,7 +83,7 @@ test_case_already_exists=该项目下已存在该测试用例 parse_data_error=解析数据出错 missing_header_information=缺少头部信息 test_case_exist=该项目下已存在用例: -node_deep_limit=节点深度不超过5层! +node_deep_limit=节点深度不超过8层! before_delete_plan=该计划下存在关联测试用例,请先取消关联! incorrect_format=格式错误 test_case_type_validate=必须为functional、performance、api diff --git a/backend/src/main/resources/i18n/messages_zh_TW.properties b/backend/src/main/resources/i18n/messages_zh_TW.properties index 4916b0c676..f3df9dc820 100644 --- a/backend/src/main/resources/i18n/messages_zh_TW.properties +++ b/backend/src/main/resources/i18n/messages_zh_TW.properties @@ -83,7 +83,7 @@ test_case_already_exists=該項目下已存在該測試用例 parse_data_error=解析數據出錯 missing_header_information=缺少頭部信息 test_case_exist=該項目下已存在用例: -node_deep_limit=節點深度不超過5層! +node_deep_limit=節點深度不超過8層! before_delete_plan=該計劃下存在關聯測試用例,請先取消關聯! incorrect_format=格式錯誤 test_case_type_validate=必須為functional、performance、api diff --git a/frontend/src/business/components/xpack b/frontend/src/business/components/xpack index cc38137a69..06d935cd1d 160000 --- a/frontend/src/business/components/xpack +++ b/frontend/src/business/components/xpack @@ -1 +1 @@ -Subproject commit cc38137a69a0f20fadece9c0f9f50a9468c4ace9 +Subproject commit 06d935cd1d22ab36f09763745c2aff8ad3fb08c1