From 4a62c69c7ffdb502d42943d255eb58377c92a06c Mon Sep 17 00:00:00 2001 From: AgAngle <1323481023@qq.com> Date: Thu, 23 May 2024 16:44:32 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E6=8A=A5=E5=91=8A=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1037585 --user=陈建星 【测试跟踪】github#29596,测试计划报告导出报错 https://www.tapd.cn/55049933/s/1519540 --- .../sdk/src/main/java/io/metersphere/commons/utils/JSON.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/sdk-parent/sdk/src/main/java/io/metersphere/commons/utils/JSON.java b/framework/sdk-parent/sdk/src/main/java/io/metersphere/commons/utils/JSON.java index 54a74c1c18..a035f8455e 100644 --- a/framework/sdk-parent/sdk/src/main/java/io/metersphere/commons/utils/JSON.java +++ b/framework/sdk-parent/sdk/src/main/java/io/metersphere/commons/utils/JSON.java @@ -26,7 +26,7 @@ import java.util.Map; public class JSON { private static final ObjectMapper objectMapper = new ObjectMapper(); private static final TypeFactory typeFactory = objectMapper.getTypeFactory(); - public static final int DEFAULT_MAX_STRING_LEN = 20_000_000_0; + public static final int DEFAULT_MAX_STRING_LEN = Integer.MAX_VALUE; static { objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);