Mastering Redmine

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book project on this site and/or

Buy the book

By buying this book you will also be donating to Redmine (see this page).


Bug #2015

Grouping by custom field not working

Added by Vitaly Klimov about 1 year ago. Updated 11 months ago.

Status:Closed Start:21 Mar 2012
Priority:Normal Due date:08 Jul 2012
Assigned to:Andriy Lesyuk % Done:

100%

Category:-
Target version:0.2.0b
System:Redmine External issue:
System version:1.3.1
Votes: 0

Description

With the plugin installed grouping by custom field became broken. Screenshot attached:

grouping_error.jpg (63 KB) Vitaly Klimov, 21 Mar 2012 15:16


Related issues

related to Redmine Extended Fields - Bug #2138: Issues count is not shown Closed 15 Jan 2013 26 Jan 2013

Associated revisions

Revision 46
Added by Andriy Lesyuk 11 months ago

Overrode fetch_row_values for extended fields (fixes #2023), added == for CustomValue and _list.html.erb (fixes #2015), added Turkish translation (thanks Ismail Sezen)

History

Updated by Andriy Lesyuk about 1 year ago

  • Status changed from New to Open

Thanks for reporting!

Updated by Vitaly Klimov about 1 year ago

Actually it seems that this bug is caused by Redmine core - when splitting issues by group (file issues\_list.html.erb) Redmine does not convert group names to string thus comparing two CustomValue objects in our case. So there are two solutions:

  • one is to correct this in _list.html.erb
  • second is convert returned value to string explicitely in extended_query_custom_field_column.rb - although i do not know if it would cause problems in logic

Updated by Andriy Lesyuk about 1 year ago

  • Target version set to 0.2.0b

Updated by Andriy Lesyuk 11 months ago

  • Due date set to 08 Jul 2012
  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF