<table><tr><td style="">mpyne created this revision.<br />mpyne added reviewers: Frameworks, ahartmetz.<br />mpyne set the repository for this revision to R241 KIO.<br />Restricted Application added a project: Frameworks.
</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/D4060" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The KSSL KCM fails to save imported certificates to the user certificate store (without an error message either), as reported by multiple users in <a href="https://bugs.kde.org/show_bug.cgi?id=342958" class="remarkup-link" target="_blank" rel="noreferrer">bug 342958</a>.</p>

<p>The bug report lead to a workaround to manually creating the needed directory first, which makes the KCM work fine.</p>

<p>This patch fixes the reported bug by ensuring that the userDir directory has been created (using QDir::mkpath) before trying to save the certificates.  Due to the KCM code layout (the KCM is in kdelibs4support) the relevant code is in KIO.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4060" rel="noreferrer">https://phabricator.kde.org/D4060</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/core/ksslcertificatemanager.cpp</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>mpyne, Frameworks, ahartmetz<br /></div>