<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/D28179">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>If user tries to modify a contact that has just been created, the modify job<br />
returns 404, the reason being that its remoteId inside Akonadi DB is wrong.</p>

<p>This patch adds an <tt style="background: #ebebeb; font-size: 13px;">ItemModifyJob</tt> which ensures the correct <tt style="background: #ebebeb; font-size: 13px;">remoteId</tt> in DB.</p></div></div><br /><div><strong>TEST PLAN</strong><div><ol class="remarkup-list">
<li class="remarkup-list-item">Create contact in KAddressBook</li>
<li class="remarkup-list-item">Check Web: contacts is created</li>
<li class="remarkup-list-item">Change this contact inside KAB 4.1) (without patch) Contact does not get changed inside Web UI, we get 404 4.2) (with patch) Contact gets changed</li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>R44 KDE PIM Runtime</div></div></div><br /><div><strong>BRANCH</strong><div><div>fix-contact-create-modify (branched from master)</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>AFFECTED FILES</strong><div><div>resources/google/contacts/contactsresource.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>