Project

General

Profile

Actions

Defect #5

closed

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

Added by Didier Wenzek almost 18 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected 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.
Actions #1

Updated by Jean-Philippe Lang almost 18 years ago

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

Actions

Also available in: Atom PDF