Defect #5

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

Added by Didier Wenzek almost 16 years ago. Updated about 10 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Resolution: Affected version:


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"},

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

Associated revisions

Revision 7803
Added by Toshi MARUYAMA about 11 years ago

Ruby 1.9: add "encoding: utf-8" header at application_helper.rb

Following error raises in case that time log has non ASCII comments.

ActionView::TemplateError (incompatible character encodings: UTF-8 and ASCII-8BIT)
 on line #5 of app/views/timelog/index.html.erb:
3: </div>
5: <%= render_timelog_breadcrumb %>
7: <h2><%= l(:label_spent_time) %></h2>

    app/helpers/application_helper.rb:407:in `join'
    app/helpers/application_helper.rb:407:in `breadcrumb'
    app/helpers/timelog_helper.rb:32:in `render_timelog_breadcrumb'


#1 Updated by Jean-Philippe Lang almost 16 years ago

Fixed in the repository.
You can replace /app/models/issue_statuses.rb by this one:
or wait for the 0.4.2 that should be released in the next days.

Best regards

Also available in: Atom PDF