<table><tr><td style="">jtamate updated this revision to Diff 33889.<br />jtamate edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ytr5fucjlsr4aiv/">(Show Details)</a><br />jtamate added a comment.<br />Restricted Application added a subscriber: kde-frameworks-devel.
</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/D12696">View Revision</a></tr></table><br /><div><div><p>Direct friendship with the operators.</p></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>Th<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">e replace in KFileItem::setName is due to the new assert in insert() renaming a file</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">is new implementation has asserts in the insert() methods to detect an already inserted entry, in that case the insert() call must be changed to a replace() call.<br />
Detected so far:<br />
* KFileItem::init(), setTime(), setLocalPath() because m_entry can have entries from the constructor.<br />
* KFileItem::setName, when renaming a file in dolphin</span>.<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">The replace in</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">*</span> ListJobPrivate::slotListEntri<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">es are due to the new assert in insert()</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">es,</span> running Kfind.<br />
</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D12696?vs=33815&id=33889">https://phabricator.kde.org/D12696?vs=33815&id=33889</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12696">https://phabricator.kde.org/D12696</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/core/kfileitem.cpp<br />
src/core/listjob.cpp<br />
src/core/udsentry.cpp<br />
src/core/udsentry.h</div></div></div><br /><div><strong>To: </strong>jtamate, dfaure, Frameworks<br /><strong>Cc: </strong>kde-frameworks-devel, bruns, michaelh, ngraham<br /></div>