Index: sources/storage/filehandler.cpp =================================================================== diff -u -r920342d3f8cb8c29966f2354ebc7d241df23ccf7 -raa0772fe1b0ff6b07e9f64e8c38acad66ad5468d --- sources/storage/filehandler.cpp (.../filehandler.cpp) (revision 920342d3f8cb8c29966f2354ebc7d241df23ccf7) +++ sources/storage/filehandler.cpp (.../filehandler.cpp) (revision aa0772fe1b0ff6b07e9f64e8c38acad66ad5468d) @@ -49,11 +49,13 @@ QFile::Text | QFile::Append : QFile::Text | QFile::WriteOnly; if (! file.open(openMode)) { + // coco begin validated : This has been manually test. Needs filesystem access to make file the way it can't be opened for writing. QString msg = QString("Can't open file for write (%1).Possible corrupted file system").arg(vFileName); errOut (msg); LOG_DEBUG(msg); return false; } + // coco end QTextStream out(&file); out << vContent; out.flush(); @@ -129,13 +131,17 @@ LOG_DEBUG(QString("%1 File(s) %2 removed").arg(countRemoved).arg(fileName)); } else { + // coco begin validated : This has been manually tested since requires to change in file system to reproduce the error. LOG_DEBUG(QString("Can't delete file : ") + fileName); } + // coco end } } else { + // coco begin validated : This has been manually tested since requires to change in file system to reproduce the error. LOG_DEBUG(QString("Can't get last modified date of file : ") + fileName); } + // coco end } } return countRemoved;