Defect #5

Setting an issue status as default status leads to an sql error.

Added by Didier Wenzek 625 days ago. Updated 625 days ago.

Status:Closed Start:
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:-
Target version:-

Description

In the "Issue statuses" screen add a new status and check the "Default status" box.This leads to
an sql error:

SQLite3::SQLException: no such column: false: UPDATE issue_statuses SET is_default=false

Request Parameters: {"commit"=>"Save",
"issue_status"=>{"name"=>"DummyStatus", "is_default"=>"1",
"html_color"=>"FFFFFF", "is_closed"=>"0"},
"id"=>"6"}

I'm using :
  • redmine 0.4.0
  • config/environments/demo.rb
  • sqlite3.

History

2007-01-26 12:43 - Jean-Philippe Lang

Fixed in the repository.
You can replace /app/models/issue_statuses.rb by this one:
http://rubyforge.org/viewvc/trunk/app/models/issue_status.rb?root
=redmine&view=markup
or wait for the 0.4.2 that should be released in the next days.

Best regards

Also available in: Atom PDF