Defect #27533
closed
Cannot change the priority of the parent issue in issue query context menu when parent priority is independent of children
Added by Vito Marolda almost 7 years ago.
Updated over 6 years ago.
Description
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.
Files
I have fixed my installation. Attached the patch. Fortunately it was very simple. I am not a Ruby programmer.
- Target version set to 3.3.6
LGTM.
This patch is same with #20992.
- Related to Defect #20992: Parent priority "Independent of subtasks" setting doesn't work added
Toshi MARUYAMA wrote:
LGTM.
This patch is same with #20992.
Absolutely. The following code is the change made by #20992 (r14671).
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' %>
- Status changed from New to Resolved
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed to the trunk. Thank you for detecting and fixing this issue.
- Status changed from Resolved to Closed
Merged from trunk to 3.4-stable and 3.3-stable.
- Related to Patch #28168: Allow context-menu edit of % done and priority of parent issues if the fields are not derived added
Also available in: Atom
PDF