This is an automated email from the ASF dual-hosted git repository.
chenxingchun 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 4ad3d43 [Fix-#5124] fix change fileName when reupload file (#5126)
4ad3d43 is described below
commit 4ad3d43dbc305205a26ef6a60ce7d609968ed99b
Author: guohaozhang <[email protected]>
AuthorDate: Wed Mar 24 10:18:40 2021 +0800
[Fix-#5124] fix change fileName when reupload file (#5126)
---
.../java/org/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 a15e52e..e61e7f5 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());
}