[SEARCH-1994]

replace existend file when copy tmp contentstore files
This commit is contained in:
eliaporciani
2019-12-09 14:31:46 +01:00
parent 40afe74ece
commit f908b11d49
@@ -1703,7 +1703,7 @@ class AlfrescoIndexFetcher
try
{
Files.createDirectories(Paths.get(csFile.getParent()));
Files.copy(tmpFile.toPath(), csFile.toPath());
Files.copy(tmpFile.toPath(), csFile.toPath(), StandardCopyOption.REPLACE_EXISTING);
}
catch (IOException e)
{