mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
MNT-16609 - Alfresco OOTB install doesn't show preview for .EML files on Windows
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129407 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -351,7 +351,7 @@ public abstract class OOoContentTransformerHelper extends ContentTransformerHelp
|
|||||||
String origFileName = getOriginalFileName(options);
|
String origFileName = getOriginalFileName(options);
|
||||||
if (origFileName == null)
|
if (origFileName == null)
|
||||||
{
|
{
|
||||||
origFileName = "TemporaryFile-" + GUID.generate();
|
origFileName = "TemporaryFile-" + GUID.generate() + "." + sourceExtension;
|
||||||
}
|
}
|
||||||
// Create a temp folder and put source and target files into it. (i.e. tempFromFile and tempToFile will be placed
|
// Create a temp folder and put source and target files into it. (i.e. tempFromFile and tempToFile will be placed
|
||||||
// into such folder)
|
// into such folder)
|
||||||
|
Reference in New Issue
Block a user