<table><tr><td style="">poboiko created this revision.<br />poboiko added a reviewer: dvratil.<br />Herald added a project: KDE PIM.<br />poboiko 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/D28523">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Akonadi calls <tt style="background: #ebebeb; font-size: 13px;">writeConfig</tt> DBus method to save the configuration for newly <br />
created resources, both via <tt style="background: #ebebeb; font-size: 13px;">firstrun</tt> and <tt style="background: #ebebeb; font-size: 13px;">SpecialCollections</tt> mechanisms.<br />
This method is non-existent for all of the resources (it was deprecated in <br />
KConfig, and apparently is not exported to DBus), method <tt style="background: #ebebeb; font-size: 13px;">save</tt> should <br />
be used instead.</p>
<p>This is related to issues raised in <a href="https://phabricator.kde.org/D27905" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">D27905: [resources/maildir] Reload configuraton on configuration change</a>: settings provided in firstrun did<br />
not override default settings for the resource.</p></div></div><br /><div><strong>TEST PLAN</strong><div><ol class="remarkup-list">
<li class="remarkup-list-item">Check <tt style="background: #ebebeb; font-size: 13px;">qdbus org.freedesktop.Akonadi.Resource.akonadi_maildir_resource_0 /Settings</tt></li>
<li class="remarkup-list-item">There is no <tt style="background: #ebebeb; font-size: 13px;">writeConfig</tt> method, but there is <tt style="background: #ebebeb; font-size: 13px;">save</tt> method</li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>R165 Akonadi </div></div></div><br /><div><strong>BRANCH</strong><div><div>save-config (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28523">https://phabricator.kde.org/D28523</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/core/firstrun.cpp<br />
src/core/jobs/specialcollectionshelperjobs.cpp</div></div></div><br /><div><strong>To: </strong>poboiko, dvratil<br /><strong>Cc: </strong>kde-pim, fbampaloukas, dcaliste, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>