This is an automated email from the ASF dual-hosted git repository.

kirs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 4a6e8b7  [Fix-#5103] fix resource rename cause can not update (#5107)
4a6e8b7 is described below

commit 4a6e8b7afac5c56392ca74de008ef5f1319a3be6
Author: guohaozhang <[email protected]>
AuthorDate: Fri Mar 19 14:51:12 2021 +0800

    [Fix-#5103] fix resource rename cause can not update (#5107)
---
 .../apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java
 
b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java
index 7337b33..f4da1dc 100644
--- 
a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java
+++ 
b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java
@@ -362,6 +362,7 @@ public class ResourcesServiceImpl extends BaseServiceImpl 
implements ResourcesSe
         Date now = new Date();
 
         resource.setAlias(name);
+        resource.setFileName(name);
         resource.setFullName(fullName);
         resource.setDescription(desc);
         resource.setUpdateTime(now);

Reply via email to