https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292016-01-12T06:00:24ZRedmineRedmine - Defect #21558: The issue parent has in most caes to be deleted before assigning a new parent.https://www.redmine.org/issues/21558?journal_id=684972016-01-12T06:00:24ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs feedback</i></li></ul><p>Nils Grimm wrote:</p>
<blockquote>
<p>In most cases Redmine throws an error that the parent assignment can't be done.</p>
</blockquote>
<p>What error?</p> Redmine - Defect #21558: The issue parent has in most caes to be deleted before assigning a new parent.https://www.redmine.org/issues/21558?journal_id=685272016-01-13T08:46:17ZNils Grimm
<ul></ul><p>No error in the log are shown but the GUI are showing a error that the value can't be assigned.<br />This is the same error message if an illegal value should be assigned to an attribute.</p> Redmine - Defect #21558: The issue parent has in most caes to be deleted before assigning a new parent.https://www.redmine.org/issues/21558?journal_id=687282016-01-19T16:23:51ZNils Grimm
<ul></ul><p>The error message in the GUI looks like: <code>Parent task is invalid</code></p>
<p>The redmine log only shows:<br /><pre>
Processing by IssuesController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"L2bNEW89gD/oNgHqQSofCnSz590cpF/1NcMLWrgjNXiVoQYe1C45eXdhVmvZZj6cWDlJh2sILHWU6OORaHoVlQ==", "form_update_triggered_by"=>"", "issue"=>{"project_id"=>"112", "tracker_id"=>"4", "subject"=>"Duration Test for Entering and Leaving 'mem' Standby Mode using UART wakeup", "description"=>"Test has to be determined.", "status_id"=>"7", "priority_id"=>"2", "assigned_to_id"=>"14", "category_id"=>"5551", "fixed_version_id"=>"4516", "parent_issue_id"=>"11856", "start_date"=>"", "due_date"=>"", "estimated_hours"=>"8.0", "custom_field_values"=>{"83"=>"", "113"=>"", "106"=>"", "43"=>"0", "44"=>"0", "45"=>"0", "46"=>"0", "47"=>"0", "48"=>"0", "49"=>"0", "50"=>"0", "51"=>"0", "52"=>"0", "53"=>"0", "54"=>"0", "55"=>"0", "56"=>"0", "57"=>"0", "58"=>"0", "59"=>"0", "109"=>"0", "62"=>"0", "70"=>"0", "69"=>"0", "66"=>"0", "63"=>"0", "64"=>"0", "72"=>"0", "73"=>"0", "84"=>"0", "85"=>"0", "99"=>"0", "67"=>"0", "97"=>"0", "108"=>["Spezifikation", ""]}, "notes"=>"", "private_notes"=>"0", "lock_version"=>"24"}, "was_default_status"=>"7", "last_journal_id"=>"124473", "commit"=>"OK", "id"=>"12400"}
Current user: grimm (id=1)
Rendered issues/_form_custom_fields.html.erb (17.8ms)
Rendered issues/_attributes.html.erb (47.6ms)
Rendered issues/_form.html.erb (66.2ms)
Rendered attachments/_form.html.erb (2.7ms)
Rendered issues/_edit.html.erb (73.6ms)
Rendered issues/edit.html.erb within layouts/base (76.2ms)
Completed 200 OK in 768ms (Views: 107.4ms | ActiveRecord: 95.2ms)
</pre></p>
<p>Ticket 12400 is in the same project as the 11856.</p> Redmine - Defect #21558: The issue parent has in most caes to be deleted before assigning a new parent.https://www.redmine.org/issues/21558?journal_id=687292016-01-19T16:35:18ZNils Grimm
<ul></ul><p>In the case <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: The issue parent has in most caes to be deleted before assigning a new parent. (Closed)" href="https://www.redmine.org/issues/21558#note-3">#21558-3</a> the problem was a relation in the issue which I wanted to set the parent dependency.</p>
In this case helps:
<ol>
<li>Deleting the relation.</li>
<li>Adding the parent dependency.</li>
<li>Adding afterwards the deleted relation again.</li>
</ol>
<p>But there are other cases, I had also a issue where the relation copied from in the parent was preventing the new child issue.<br />After I assigned the dependency I could add the relation in the parent afterwards.</p> Redmine - Defect #21558: The issue parent has in most caes to be deleted before assigning a new parent.https://www.redmine.org/issues/21558?journal_id=689012016-01-28T10:36:30ZNils Grimm
<ul></ul>Scenario:
<ol>
<li>Subtask will be copied vie right click.
<ul>
<li>The old subtask gets a copied to relation.</li>
<li>The new issue gets a copied from relation.</li>
</ul>
</li>
<li>Later on the user wants to assign a parent to the copied issue.</li>
<li>Redmine will prevent a parent assignment.</li>
</ol> Redmine - Defect #21558: The issue parent has in most caes to be deleted before assigning a new parent.https://www.redmine.org/issues/21558?journal_id=691912016-02-12T03:19:28ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>Needs feedback</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Duplicate</i></li></ul><p>Duplicate of <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Can't set parent issue when issue relations among child issues are present (Closed)" href="https://www.redmine.org/issues/13654">#13654</a>.</p> Redmine - Defect #21558: The issue parent has in most caes to be deleted before assigning a new parent.https://www.redmine.org/issues/21558?journal_id=691922016-02-12T03:19:38ZToshi MARUYAMA
<ul><li><strong>Is duplicate of</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/13654">Defect #13654</a>: Can't set parent issue when issue relations among child issues are present</i> added</li></ul>