addresses #3760
This commit is contained in:
@@ -354,6 +354,10 @@ class UploadService
|
|||||||
|
|
||||||
def finish!(upload = nil)
|
def finish!(upload = nil)
|
||||||
pred = upload || self.predecessor()
|
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.attributes = self.params
|
||||||
pred.status = "completed"
|
pred.status = "completed"
|
||||||
pred.save
|
pred.save
|
||||||
|
|||||||
Reference in New Issue
Block a user