Project

General

Profile

Actions

Defect #16963

open

Multi select custom field is broken in the report

Added by John Nguyen almost 10 years ago. Updated over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Time tracking
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Introduced a bug in this version of Redmine to where the the spent time report cannot display multiple select custom fields.

When the user select a custom field that has multiple values, the report fails with the following error page:

Internal error
An arror occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.
If you are the Redmine administrator, check your log files for details about the error.

I have verified using a previous version 2.4.2 with the exact same data and it works fine. Please fix for this is a show stopper for us.


Related issues

Related to Redmine - Defect #16519: Generating a spent time report on a list type custom field with multiple values causes an invalid SQL errorClosedJean-Philippe Lang

Actions
Actions #1

Updated by John Nguyen almost 10 years ago

I just found out that this was done intentionally. r13055

We need this feature back please.

Actions #2

Updated by Jean-Philippe Lang almost 10 years ago

Yes, 2.4 allowed that but when a time entry had multiple values for the custom fields, the hours was assigned to an arbitary value. Example: With a single entry of 2 hours having a custom value = [Foo, Bar], the report gives: Bar => 2 hours.

Is it the expected behaviour?

Actions #3

Updated by Toshi MARUYAMA over 9 years ago

  • Related to Defect #16519: Generating a spent time report on a list type custom field with multiple values causes an invalid SQL error added
Actions #4

Updated by Toshi MARUYAMA over 9 years ago

  • Category changed from Activity view to Time tracking
  • Priority changed from Urgent to Normal
Actions

Also available in: Atom PDF