Skip to content

Commit

Permalink
A one line fix for #3952, properly preserving the original type of an…
Browse files Browse the repository at this point in the history
… ingested tabular file.
  • Loading branch information
landreev committed Jun 23, 2017
1 parent ed32206 commit 8e9ccce
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 8e9ccce

Please sign in to comment.