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 6b565f0  [Fix-#5124] fix change fileName when reupload file (#5125)
6b565f0 is described below

commit 6b565f0aed07cd328702d9fc1bec99e682c7525f
Author: guohaozhang <[email protected]>
AuthorDate: Thu Apr 1 20:44:03 2021 +0800

    [Fix-#5124] fix change fileName when reupload file (#5125)
---
 .../apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java   | 1 -
 1 file changed, 1 deletion(-)

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 4b7cc59..8092311 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
@@ -367,7 +367,6 @@ public class ResourcesServiceImpl extends BaseServiceImpl 
implements ResourcesSe
         resource.setDescription(desc);
         resource.setUpdateTime(now);
         if (file != null) {
-            resource.setFileName(file.getOriginalFilename());
             resource.setSize(file.getSize());
         }
 

Reply via email to