<table><tr><td style="">poboiko added a comment.
</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/D28179">View Revision</a></tr></table><br /><div><div><p>Hmm, that's weird.<br />
I've looked into <tt style="background: #ebebeb; font-size: 13px;">CalendarResource</tt> (say, <tt style="background: #ebebeb; font-size: 13px;">slotCreateJobFinished</tt>) and the code there explicitly calls <tt style="background: #ebebeb; font-size: 13px;">ItemModifyJob</tt> too.</p>

<p>Here's the debug output without this change:</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">org.kde.kgapi: ("http://www.google.com/m8/feeds/groups/EMAIL%40gmail.com/base/6")
org.kde.kgapi: Queued QUrl("https://www.google.com/m8/feeds/contacts/EMAIL@gmail.com/full")
org.kde.kgapi: KGAPI2::ContactCreateJob(0x556e98b54020) Dispatching request to QUrl("https://www.google.com/m8/feeds/contacts/EMAIL@gmail.com/full")
org.kde.pim.akonadicore: Deleting items from the akonadi database failed: "No items found"
org.kde.kgapi: Received reply from QUrl("https://www.google.com/m8/feeds/contacts/EMAIL@gmail.com/full?prettyPrint=false")
org.kde.kgapi: Status code:  201
org.kde.pim.akonadicore: Deleting items from the akonadi database failed: "No items found"
org.kde.kgapi: ("http://www.google.com/m8/feeds/groups/EMAIL%40gmail.com/base/6")
org.kde.kgapi: Queued QUrl("https://www.google.com/m8/feeds/contacts/EMAIL@gmail.com/full/843a45f9-b479-46c2-bb4a-607d438e92e9")
org.kde.kgapi: KGAPI2::ContactModifyJob(0x556e98b72920) Dispatching request to QUrl("https://www.google.com/m8/feeds/contacts/EMAIL@gmail.com/full/843a45f9-b479-46c2-bb4a-607d438e92e9")
org.kde.pim.akonadicore: Deleting items from the akonadi database failed: "No items found"
org.kde.kgapi: Received reply from QUrl("https://www.google.com/m8/feeds/contacts/EMAIL@gmail.com/full/843a45f9-b479-46c2-bb4a-607d438e92e9?prettyPrint=false")
org.kde.kgapi: Status code:  404
org.kde.kgapi: Requested resource does not exist
org.kde.kgapi: Queued QUrl("https://www.google.com/m8/feeds/photos/media/EMAIL@gmail.com/843a45f9-b479-46c2-bb4a-607d438e92e9")
org.kde.kgapi: KGAPI2::ContactModifyJob(0x556e98b72920) Dispatching request to QUrl("https://www.google.com/m8/feeds/photos/media/EMAIL@gmail.com/843a45f9-b479-46c2-bb4a-607d438e92e9")
org.kde.kgapi: Received reply from QUrl("https://www.google.com/m8/feeds/photos/media/EMAIL@gmail.com/843a45f9-b479-46c2-bb4a-607d438e92e9")
org.kde.kgapi: Status code:  404
org.kde.kgapi: Requested resource does not exist</pre></div>

<p>The ID for newly created contact is <tt style="background: #ebebeb; font-size: 13px;">843a45f9-b479-46c2-bb4a-607d438e92e9</tt>, which is not right (the right one is <tt style="background: #ebebeb; font-size: 13px;">41c9b4289fd31e5</tt>).</p>

<p>Although you seem to be correct, I've checked <tt style="background: #ebebeb; font-size: 13px;">AkonadiConsole</tt> and the <tt style="background: #ebebeb; font-size: 13px;">remoteId</tt> there is correct. There is indeed an <tt style="background: #ebebeb; font-size: 13px;">ItemModifyJob</tt> in the job tracker.</p>

<p>With the patch, however, the logs show following:</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">org.kde.kgapi: ("http://www.google.com/m8/feeds/groups/EMAIL%40gmail.com/base/6")
org.kde.kgapi: Queued QUrl("https://www.google.com/m8/feeds/contacts/EMAIL@gmail.com/full")
org.kde.kgapi: KGAPI2::ContactCreateJob(0x55c3a22c3590) Dispatching request to QUrl("https://www.google.com/m8/feeds/contacts/EMAIL@gmail.com/full")
org.kde.pim.akonadicore: Deleting items from the akonadi database failed: "No items found"
org.kde.kgapi: Received reply from QUrl("https://www.google.com/m8/feeds/contacts/EMAIL@gmail.com/full?prettyPrint=false")
org.kde.kgapi: Status code:  201
org.kde.pim.akonadicore: Deleting items from the akonadi database failed: "No items found"
org.kde.kgapi: ("http://www.google.com/m8/feeds/groups/EMAIL%40gmail.com/base/6")
org.kde.kgapi: Queued QUrl("https://www.google.com/m8/feeds/contacts/EMAIL@gmail.com/full/2886fa4b0a791ec9")
org.kde.kgapi: KGAPI2::ContactModifyJob(0x55c3a1df1e40) Dispatching request to QUrl("https://www.google.com/m8/feeds/contacts/EMAIL@gmail.com/full/2886fa4b0a791ec9")
org.kde.pim.akonadicore: Deleting items from the akonadi database failed: "No items found"
org.kde.kgapi: Received reply from QUrl("https://www.google.com/m8/feeds/contacts/EMAIL@gmail.com/full/2886fa4b0a791ec9?prettyPrint=false")
org.kde.kgapi: Status code:  200
org.kde.kgapi: Queued QUrl("https://www.google.com/m8/feeds/photos/media/EMAIL@gmail.com/2886fa4b0a791ec9")
org.kde.kgapi: 1 requests in requestQueue.
org.kde.kgapi: KGAPI2::ContactModifyJob(0x55c3a1df1e40) Dispatching request to QUrl("https://www.google.com/m8/feeds/photos/media/EMAIL@gmail.com/2886fa4b0a791ec9")
org.kde.kgapi: Received reply from QUrl("https://www.google.com/m8/feeds/photos/media/EMAIL@gmail.com/2886fa4b0a791ec9")
org.kde.kgapi: Status code:  200</pre></div>

<p>i.e. everything works just fine. Any ideas?</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R44 KDE PIM Runtime</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28179">https://phabricator.kde.org/D28179</a></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>