From 51a11561c34e1d99e8f69f3e1a04249c47b901cb Mon Sep 17 00:00:00 2001 From: Albert Yi Date: Tue, 19 Jun 2018 17:20:04 -0700 Subject: [PATCH] addresses #3760 --- app/logical/upload_service.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/logical/upload_service.rb b/app/logical/upload_service.rb index 7a48e5234..77820943c 100644 --- a/app/logical/upload_service.rb +++ b/app/logical/upload_service.rb @@ -354,6 +354,10 @@ class UploadService def finish!(upload = nil) pred = upload || self.predecessor() + + # regardless of who initialized the upload, credit should goto whoever submitted the form + pred.initialize_attributes + pred.attributes = self.params pred.status = "completed" pred.save