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.
Attachments
For Gerrit Dashboard: QBS-1216 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
210008,3 | Fix File.move() and add autotest | 1.10 | qbs/qbs | Status: MERGED | +2 | 0 |