Skip to content

Commit

Permalink
Process method arg should be configurationName
Browse files Browse the repository at this point in the history
  • Loading branch information
nullterminated committed Mar 8, 2014
1 parent a7593e5 commit e0339cb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public void takeValuesFromRequest(WORequest request, WOContext context) {
File uploadedFile = File.createTempFile("DragAndDropUpload-", ".tmp");
os = new FileOutputStream(uploadedFile);
data.writeToStream(os);
ERAttachment upload = ERAttachmentProcessor.processorForType(storageType()).process(editingContext(), uploadedFile, filename, mimetype, storageType(), null);
ERAttachment upload = ERAttachmentProcessor.processorForType(storageType()).process(editingContext(), uploadedFile, filename, mimetype, configurationName(), null);
setValueForBinding(upload, "attachment");
invokeAction = true;
FileUtils.deleteQuietly(uploadedFile);
Expand Down Expand Up @@ -211,4 +211,4 @@ public boolean acceptMimetype(String mimetype) {
}
return false;
}
}
}

0 comments on commit e0339cb

Please sign in to comment.