<table><tr><td style="">poboiko edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-6ml5gvvyihmtl3t/">(Show Details)</a><br />poboiko edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-fegf2wlmnta6jwm/">(Show Details)</a>
</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>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">If user tries to modify a contact that has just been created, the modify job<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> returns 404.<br />
Although `remoteId` gets updated by `changeCommitted`, the UID inside Addressee doesn't.</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">returns 404</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">We need to update the payload explicitly</span>, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">the reason being that its remoteId inside Akonadi DB is wrong.</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">in order to resolve the confusion</span><br />
<br />
This patch adds an `ItemModifyJob` which <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">ensures the correct `remoteId` in DB</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">does precisely that</span>.</div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div> 4<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">.1</span>) (without patch) Contact does not get changed inside Web UI, we get 404<br />
 <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">4.2</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">5</span>) (with patch) Contact gets changed</div></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>