Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.0 Final
-
Fix Version/s: 1.1 Beta
-
Component/s: None
-
Labels:None
-
Environment:Tomcat, windows, where tmp folder and server folder are not on the same system drive.
Description
After some recent changes to my windows machines, my server folder folder no longer resides on the same drive as my user tmp folder. As it turns out after this system change was made I was not longer able use the device input/upload components. The failure pointed at the file not being found in the servers download folder.
The utility class org.icefaces.mobi.utils.Utils.createMapOfFile() makes all call to File.renameTo() which appears to be failing silently in my system setup ultimately resulting in the file not found exception.
It would appear that doing a regular file stream copy works fine if the renameTo() mehtod fails.
The utility class org.icefaces.mobi.utils.Utils.createMapOfFile() makes all call to File.renameTo() which appears to be failing silently in my system setup ultimately resulting in the file not found exception.
It would appear that doing a regular file stream copy works fine if the renameTo() mehtod fails.
Assigning to Ted.