<table><tr><td style="">modax created this revision.<br />modax added a reviewer: dvratil.<br />Herald added a project: KDE PIM.<br />Herald added a subscriber: kde-pim.<br />modax requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D17879">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This is slight adapted version of the code removed in commit<br />
<a href="https://phabricator.kde.org/R165:278a85f8ef9a90b1707ff6f66bd1a95155f93685" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">278a85f8ef9a90b1707ff6f66bd1a95155f93685</a>. I believe it got lost<br />
unintentionally in that commit as there are lots of places in current<br />
codebase which relies on StandardDirs::saveDir() returning existing<br />
directory (just check comments in those places!), e.g.:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">AkonadiServer::startDatabaseProcess()</li>
<li class="remarkup-list-item">PartStreamer::PartStreamer</li>
<li class="remarkup-list-item">StorageJanitor::verifyExternalParts()</li>
<li class="remarkup-list-item">etc.</li>
</ul></div></div><br /><div><strong>TEST PLAN</strong><div><p>akonadictl fsck on database with unreferenced external files actually moves<br />
files to file_lost+found dir now.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R165 Akonadi </div></div></div><br /><div><strong>BRANCH</strong><div><div>bug/standarddirs-savedir-ensure-created</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17879">https://phabricator.kde.org/D17879</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/private/standarddirs.cpp</div></div></div><br /><div><strong>To: </strong>modax, dvratil<br /><strong>Cc: </strong>kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>