This is an automated email from the ASF dual-hosted git repository.
kirs pushed a commit to branch 1.3.6-prepare
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git
The following commit(s) were added to refs/heads/1.3.6-prepare by this push:
new 25be231 [Fix-#5103] fix resource rename cause can not update (#5110)
25be231 is described below
commit 25be231ce4c5a2784b5f1fdfc65a8e1b78aeb3e1
Author: guohaozhang <[email protected]>
AuthorDate: Sat Mar 20 12:36:48 2021 +0800
[Fix-#5103] fix resource rename cause can not update (#5110)
---
.../java/org/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 28fe64e..a15e52e 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);