From 25be231ce4c5a2784b5f1fdfc65a8e1b78aeb3e1 Mon Sep 17 00:00:00 2001 From: guohaozhang Date: Sat, 20 Mar 2021 12:36:48 +0800 Subject: [PATCH] [Fix-#5103] fix resource rename cause can not update (#5110) --- .../apache/dolphinscheduler/api/service/ResourcesService.java | 1 + 1 file changed, 1 insertion(+) 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 28fe64e2cd..a15e52e1a0 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 @@ -423,6 +423,7 @@ public class ResourcesService extends BaseService { Date now = new Date(); resource.setAlias(name); + resource.setFileName(name); resource.setFullName(fullName); resource.setDescription(desc); resource.setUpdateTime(now);