Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
1.9.1
-
6534ed02c9878c4fa02dea5cc646e0e7f1696cbd
Description
Execute a simple File.move(oldFilePath,newFilePath,true) where both files are in the same directory but it doesn't work at all : The error is throwed from the file src/lib/corelib/jsextensions/file.cpp :
if (!QFile(sourceFile).isReadable()) return context->throwError(QString(QLatin1String("Could not move '%1' to '%2': ""Source file is not accessible.")) .arg(sourceFile, targetFile));
When move replaced to copy, it works.