Project

General

Profile

Actions

Defect #4366

closed

Bulk edit of issues throws 500 if no versions are defined on the project

Added by Holger Just over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Projects
Target version:
-
Start date:
2009-12-09
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

The display of the bulk edit form of issues always fails if no versions are defined in the current project.

The cause is in project_helper.rb in version_options_for_select. In case there are no versions defined grouped is an empty Hash which results in a call to options_for_select and nil as the first parameter. This function however expects an Array.

A simple patch (against the current trunk r3136) is provided to solve the issue.


Files

Actions #1

Updated by Jean-Philippe Lang over 14 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Fix + test committed in r3140.
Thanks.

Actions

Also available in: Atom PDF