Defect #13075

Can't clear custom field value through context menu in the issue list

Added by Danil Tashkinov almost 5 years ago. Updated almost 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Custom fields
Target version:2.2.3
Resolution:Fixed Affected version:2.2.2

Description

When selecting issue (or multiple issues) in the issue list, right clicking and selecting CUSTOM_FIELD_NAME from the context menu, click "none" then issue does not change.

I suppose problem is using an empty string instead of "__none__" when calling bulk_update_custom_field_context_menu_link method.

http://www.redmine.org/projects/redmine/repository/entry/trunk/app/views/context_menus/issues.html.erb#L114

      <% unless field.is_required? %>    
        <li><%= bulk_update_custom_field_context_menu_link(field, l(:label_none), '') %></li>    
      <% end %>

Associated revisions

Revision 11331
Added by Jean-Philippe Lang almost 5 years ago

Fixed: Can't clear custom field value through context menu in the issue list (#13075).

Revision 11333
Added by Jean-Philippe Lang almost 5 years ago

Test failures from r11331 (#13075).

Revision 11363
Added by Jean-Philippe Lang almost 5 years ago

Merged r11331 and r11333 from trunk (#13075).

History

#1 Updated by Jean-Philippe Lang almost 5 years ago

  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version set to 2.2.3
  • Affected version (unused) changed from devel to 2.2.2
  • Resolution set to Fixed
  • Affected version set to 2.2.2

Fixed in r11331, thanks for pointing this out.

#2 Updated by Jean-Philippe Lang almost 5 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF