fix(测试跟踪): excel导入导出报错

--bug=1015514 --user=陈建星 【测试跟踪】导入测试用例,下载用例模版,导出的模版内容是空的 https://www.tapd.cn/55049933/s/1215305
This commit is contained in:
chenjianxing 2022-07-29 14:15:22 +08:00 committed by jianxing
parent 445840399e
commit e4fd5f1900
2 changed files with 3 additions and 1 deletions

View File

@ -24,6 +24,7 @@
<mssql-jdbc.version>7.4.1.jre8</mssql-jdbc.version> <mssql-jdbc.version>7.4.1.jre8</mssql-jdbc.version>
<postgresql.version>42.3.2</postgresql.version> <postgresql.version>42.3.2</postgresql.version>
<java-websocket.version>1.5.3</java-websocket.version> <java-websocket.version>1.5.3</java-websocket.version>
<xmlbeans.version>3.1.0</xmlbeans.version>
</properties> </properties>
<dependencies> <dependencies>
@ -216,7 +217,7 @@
<dependency> <dependency>
<groupId>org.apache.xmlbeans</groupId> <groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans</artifactId> <artifactId>xmlbeans</artifactId>
<version>3.0.0</version> <version>${xmlbeans.version}</version>
</dependency> </dependency>

View File

@ -1307,6 +1307,7 @@ public class TestCaseService {
Translator.get("test_case_import_template_name"), Translator.get("test_case_import_template_sheet"), handler); Translator.get("test_case_import_template_name"), Translator.get("test_case_import_template_sheet"), handler);
} catch (Exception e) { } catch (Exception e) {
LogUtil.error(e);
MSException.throwException(e); MSException.throwException(e);
} }
} }