Project

General

Profile

Actions

Defect #13075

closed

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

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

Status:
Closed
Priority:
Normal
Category:
Custom fields
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

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 %>
Actions #1

Updated by Jean-Philippe Lang almost 12 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.

Actions #2

Updated by Jean-Philippe Lang almost 12 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF