Fix [ adempiere-ZK Web Client-2603516 ] Concurrency problem loading files
https://sourceforge.net/tracker2/?func=detail&atid=955896&aid=2603516&group_id=176962 Following advice from Heng Sin about not using user name
This commit is contained in:
parent
9282aca9cf
commit
6a05943ead
|
@ -131,7 +131,7 @@ public class WFilenameEditor extends WEditor
|
|||
String fileName = null;
|
||||
try {
|
||||
|
||||
File tempFile = File.createTempFile(Env.getContext(Env.getCtx(), "#AD_User_Name")+"_", "_"+file.getName());
|
||||
File tempFile = File.createTempFile("adempiere_", "_"+file.getName());
|
||||
fileName = tempFile.getAbsolutePath();
|
||||
|
||||
fos = new FileOutputStream(tempFile);
|
||||
|
|
Loading…
Reference in New Issue