Skip to content

Commit

Permalink
Merge pull request #3954 from IQSS/3952-fix-original-type
Browse files Browse the repository at this point in the history
properly preserving the original type  #3952
  • Loading branch information
kcondon authored Jun 23, 2017
2 parents ed32206 + 8e9ccce commit 7f4309b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ public boolean ingestAsTabular(Long datafile_id) { //DataFile dataFile) throws I
if (FileUtil.MIME_TYPE_CSV_ALT.equals(dataFile.getContentType())) {
tabDataIngest.getDataTable().setOriginalFileFormat(FileUtil.MIME_TYPE_CSV);
} else {
tabDataIngest.getDataTable().setOriginalFileFormat(dataFile.getContentType());
tabDataIngest.getDataTable().setOriginalFileFormat(originalContentType);
}

dataFile.setDataTable(tabDataIngest.getDataTable());
Expand Down

0 comments on commit 7f4309b

Please sign in to comment.