D28523: Save configuration when creating resources for new user

Igor Poboiko noreply at phabricator.kde.org
Thu Apr 2 18:21:36 BST 2020


poboiko created this revision.
poboiko added a reviewer: dvratil.
Herald added a project: KDE PIM.
poboiko requested review of this revision.

REVISION SUMMARY
  Akonadi calls `writeConfig` DBus method to save the configuration for newly 
  created resources, both via `firstrun` and `SpecialCollections` mechanisms.
  This method is non-existent for all of the resources (it was deprecated in 
  KConfig, and apparently is not exported to DBus), method `save` should 
  be used instead.
  
  This is related to issues raised in D27905: [resources/maildir] Reload configuraton on configuration change <https://phabricator.kde.org/D27905>: settings provided in firstrun did
  not override default settings for the resource.

TEST PLAN
  1. Check `qdbus org.freedesktop.Akonadi.Resource.akonadi_maildir_resource_0 /Settings`
  2. There is no `writeConfig` method, but there is `save` method

REPOSITORY
  R165 Akonadi

BRANCH
  save-config (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D28523

AFFECTED FILES
  src/core/firstrun.cpp
  src/core/jobs/specialcollectionshelperjobs.cpp

To: poboiko, dvratil
Cc: kde-pim, fbampaloukas, dcaliste, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20200402/3c0981c5/attachment.html>


More information about the kde-pim mailing list