<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/D28434">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>When creating a subtodo of an existing task, it should belong to the same collection.</p>

<p>Apparenly, there was a typo: parent collection was determined, but not passed to <tt style="background: #ebebeb; font-size: 13px;">createIncidence</tt> call.<br />
Just fix it.</p></div></div><br /><div><strong>TEST PLAN</strong><div><ol class="remarkup-list">
<li class="remarkup-list-item">Open KOrganizer todo list, select an existing todo</li>
<li class="remarkup-list-item">Enter new todo description in the text widget below the list, press Ctrl+Enter</li>
<li class="remarkup-list-item">(without patch) It asks for a collection despite attempting to create a sub-todo</li>
<li class="remarkup-list-item">(with patch) A sub-todo gets created in the same collection</li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>R76 PIM: Event Views</div></div></div><br /><div><strong>BRANCH</strong><div><div>dont-ask-for-collection-subtodo (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28434">https://phabricator.kde.org/D28434</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/todo/todoview.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>