Actions
Defect #18346
closedExtended Field Values that are nil produce an error
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
If an extended field is not used by a tracker but is enabled in the issue overview, then an error is produced because the value of that field is nil
I appended a possible patch as file
In File: lib/extended_queries_helper_patch.rb:
if !column.custom_field.respond_to?(:visible_by?) || column.custom_field.visible_by?(issue.project, User.current)
value = issue.custom_field_values.detect{ |value| value.custom_field_id == column.custom_field.id }
+ if value.nil?
+ return nil
+ end
h(show_value(value))
else
Files
Updated by Mischa The Evil about 10 years ago
- Status changed from New to Closed
- Resolution set to Invalid
Please don't post plugin issues here. Please, instead report it at the plugin authors site: http://projects.andriylesyuk.com/project/redmine/extended-fields.
Actions