プロジェクト

全般

プロフィール

Vote #78944

完了

Cannot change the priority of the parent issue in issue query context menu when parent priority is independent of children

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Issues list_58
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
58
version_id:
136
issue_org_id:
27533
author_id:
79631
assigned_to_id:
332
comments:
7
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
122
ステータス-->[Closed]

説明

Also if Tracking settings are set to have parent priority independent of children, the context menu in issue query has priorities grayed out.
In fact, when normally editing, the priorities of parent issues are perfetcly editable.
This bug affects the context menu only.


journals

I have fixed my installation. Attached the patch. Fortunately it was very simple. I am not a Ruby programmer.
--------------------------------------------------------------------------------
LGTM.
This patch is same with #20992.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Toshi MARUYAMA wrote:
> LGTM.
> This patch is same with #20992.

Absolutely. The following code is the change made by #20992 (r14671).

<pre><code class="diff">
Index: app/views/issues/_attributes.html.erb
===================================================================
--- app/views/issues/_attributes.html.erb (revision 14670)
+++ app/views/issues/_attributes.html.erb (revision 14671)
@@ -11,7 +11,7 @@
<% end %>

<% if @issue.safe_attribute? 'priority_id' %>
-<p><%= f.select :priority_id, (@priorities.collect {|p| [p.name, p.id]}), {:required => true}, :disabled => !@issue.leaf? %></p>
+<p><%= f.select :priority_id, (@priorities.collect {|p| [p.name, p.id]}), {:required => true} %></p>
<% end %>

<% if @issue.safe_attribute? 'assigned_to_id' %>
</code></pre>
--------------------------------------------------------------------------------
Committed to the trunk. Thank you for detecting and fixing this issue.
--------------------------------------------------------------------------------
Merged from trunk to 3.4-stable and 3.3-stable.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,20992,Parent priority "Independent of subtasks" setting doesn't work
relates,Closed,28168,Allow context-menu edit of % done and priority of parent issues if the fields are not derived

Admin Redmine さんが4年以上前に更新

  • カテゴリIssues list_58 にセット
  • 対象バージョン3.3.6_136 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0