mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
APPS-986: [AGS] Export of records with size> 4 MB fails (#511)
- Changed deleteTempFileOnClose to false as the temp file deletion is handled in BufferedResponse#writeResponse
This commit is contained in:
@@ -109,7 +109,8 @@ public class RepositoryContainer extends AbstractRuntimeContainer
|
|||||||
{
|
{
|
||||||
File tempDirectory = TempFileProvider.getTempDir(tempDirectoryName);
|
File tempDirectory = TempFileProvider.getTempDir(tempDirectoryName);
|
||||||
this.streamFactory = new TempOutputStreamFactory(tempDirectory, memoryThreshold, maxContentSize, encryptTempFiles, false);
|
this.streamFactory = new TempOutputStreamFactory(tempDirectory, memoryThreshold, maxContentSize, encryptTempFiles, false);
|
||||||
this.responseStreamFactory = new TempOutputStreamFactory(tempDirectory, memoryThreshold, maxContentSize, encryptTempFiles, true);
|
this.responseStreamFactory = new TempOutputStreamFactory(tempDirectory, memoryThreshold, maxContentSize,
|
||||||
|
encryptTempFiles, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setEncryptTempFiles(Boolean encryptTempFiles)
|
public void setEncryptTempFiles(Boolean encryptTempFiles)
|
||||||
|
Reference in New Issue
Block a user