Commit 7ba473fe authored by David Faure's avatar David Faure
Browse files

Fix "Only resources can modify remote identifiers" when re-editing event

Summary:
... before the resource had time to create it and notify korganizer
about it.

This seems to be a better fix than akonadi commit fbcd065c0dbb,
which for some reason isn't enough (I had the error again in January
2020).

BUG: 407965

Test Plan:
Create event in korganizer, double-click it immediately,
change something, click OK.

Reviewers: dvratil

Reviewed By: dvratil

Differential Revision: https://phabricator.kde.org/D28559
parent 1bc6bfcd
...@@ -82,6 +82,7 @@ ItemEditorPrivate::ItemEditorPrivate(Akonadi::IncidenceChanger *changer, EditorI ...@@ -82,6 +82,7 @@ ItemEditorPrivate::ItemEditorPrivate(Akonadi::IncidenceChanger *changer, EditorI
mFetchScope.setAncestorRetrieval(Akonadi::ItemFetchScope::Parent); mFetchScope.setAncestorRetrieval(Akonadi::ItemFetchScope::Parent);
mFetchScope.setFetchTags(true); mFetchScope.setFetchTags(true);
mFetchScope.tagFetchScope().setFetchIdOnly(false); mFetchScope.tagFetchScope().setFetchIdOnly(false);
mFetchScope.setFetchRemoteIdentification(false);
mChanger mChanger
= changer ? changer : new Akonadi::IncidenceChanger(new IndividualMailComponentFactory( = changer ? changer : new Akonadi::IncidenceChanger(new IndividualMailComponentFactory(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment