From 4ad3d43dbc305205a26ef6a60ce7d609968ed99b Mon Sep 17 00:00:00 2001 From: guohaozhang Date: Wed, 24 Mar 2021 10:18:40 +0800 Subject: [PATCH] [Fix-#5124] fix change fileName when reupload file (#5126) --- .../apache/dolphinscheduler/api/service/ResourcesService.java | 1 - 1 file changed, 1 deletion(-) diff --git a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ResourcesService.java b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ResourcesService.java index a15e52e1a0..e61e7f50a2 100644 --- a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ResourcesService.java +++ b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ResourcesService.java @@ -428,7 +428,6 @@ public class ResourcesService extends BaseService { resource.setDescription(desc); resource.setUpdateTime(now); if (file != null) { - resource.setFileName(file.getOriginalFilename()); resource.setSize(file.getSize()); }